RegEx Pattern to highlight a single unique character

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Norbert Jurkiewicz
Version: 12.1.0304
Avatar

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.

Norbert

[Modified 12 years ago]

Comments (2)

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

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 12 years ago by Norbert Jurkiewicz
Avatar

This works great.  Thank you.

The latest build of this product (v24.1.1) was released 24 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.