When working with MEL, everybody knows that $ means to declare a variable, but when it’s included in a string what it does?
It simply check the strings(characters) before the dollar sign in the ending of the second strings.
Or as Jeffry Friedl mentions in his book:
The $ (Dollar) the position at the end of the line
Therefore let’s check the following script in MEL:
string $testString = “This is a test string”;
match “string$” $testString;
We have now learnt how to use $ in regExp!!