RegEx Pattern to highlight a single unique character

SyntaxEditor for Windows Forms Forum

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

Comments (2)

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

This works great.  Thank you.

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.