RegEx Pattern to highlight a single unique character

SyntaxEditor for Windows Forms Forum

Posted 8 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 8 years ago]

Comments (2)

Answer - Posted 8 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 8 years ago by Norbert Jurkiewicz

This works great.  Thank you.

The latest build of this product (v21.1.1) 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.