It was the only way I found to highlight variables. The alternative would be to treat variables as normal text.
Anyway, quote from the Ultraedit Help quote:
Keywords beginning with a Sub String
There are instances in some languages where it is desirable to highlight keywords that begin with a particular sub-string, however the complete word is not known. UltraEdit provides the ability to define sub-strings that are used to determine if a word should be highlighted. If such sub-strings are defined for a particular language under a color group UltraEdit will determine if a word begins with one of the sub-strings. If it does, it will be highlighted accordingly.
The sub-strings should be defined as with any other set of keywords however the line containing the sub-strings should start with "** " and all sub-strings should be on the same line as in:
** aaa bbb
The example above would highlight any words beginning with "aaa" or "bbb".
_________________________
There are two types of vessels, submarines and targets.