Q:
Hello, I am trying to create syntax highlighting for EXACT matches in Xshell 6. In 'Highlight Sets' then add keyword, I can use the keyword 'DOWN' but it is not an exact match. I try to use regular expression ^DOWN$ but it does not work.
How do I create exact match syntax highlighting?
A:
Try exact matching of regular expressions. The next keyword in the "keyword to highlight" field would work.
\bDOWN\b
Make sure to check the Regular Expression checkbox.
Xshell's highlight system uses the Perl compatible DEELX engine. Knowing this, you can find resources for the detailed usage of our highlight set feature.
Add Comment