RegEx Pattern to highlight a single unique character

SyntaxEditor for Windows Forms Forum

Posted 9 years ago by Norbert Jurkiewicz
Version: 12.1.0304

What StartLexicalPatternGroup and EndLexicalPatternGroup LexicalPatternGroup should I use to only highlight a single unique character.  I do not want to highlight everythhing form the first to second occurance of it.


The character being...


Thank you.


[Modified 9 years ago]

Comments (2)

Answer - Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Norbert,

For a single character you wouldn't want to use a lexical scope.  You'd just want to define an ExplicitPatternGroup with the character as the Pattern.

Or if I misunderstand, please provide more information with an example syntax.

Actipro Software Support

Posted 9 years ago by Norbert Jurkiewicz

This works great.  Thank you.

The latest build of this product (v22.1.2) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.