There's also the option of using /x, having a space after the $ will remove the ambiguity for the compiler and anyone reading the code.
In reply to Re: Disambuating $ in (especially /m) regexps
by Eily
in thread Disambuating $ in (especially /m) regexps
by tlhackque
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |