Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels