I want to find
char $ using lua features, but only if there is no
\ char before
char $. For this I create the pattern:
However, Lua ignores the first part of my pattern and finds only
%$. Please help me to solve my problem.
Yes, I know that lua has a very bad pattern parser, but I hope I can find
$ if it is either the first character of the line or if it does not have
\ before. Thanks so very much for the help.