RegEx Pattern to highlight a single unique character

SyntaxEditor for Windows Forms Forum

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

Comments (2)

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

This works great.  Thank you.

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.