![Avatar](https://secure.gravatar.com/avatar/7c983c351504fda0fcfada0762da5948.jpg?s=64&d=identicon&r=g)
Hello,
I tried several options but just could not do it. I want to create a lexical state for a sub language.
Start delimiter is '['
End delimiter is ']'
I also want to support escape char - when the '\' sign is before the end delimiter I want the end delimiter to be a normal token in the language.
I tried:Thanks.
I tried several options but just could not do it. I want to create a lexical state for a sub language.
Start delimiter is '['
End delimiter is ']'
I also want to support escape char - when the '\' sign is before the end delimiter I want the end delimiter to be a normal token in the language.
I tried:
new LexicalPatternGroup(LexicalPatternType.Regex, "EndToken",
language.HighlightingStyles["DelimiterStyle"],
"(?<!\\\\)]");