I want to find, using lua features,
char $, but only if it is no char
char $. For this I create the pattern:
However, Lua ignores the first part of my pattern and find only
%$. Please help me to solve my problem.
I create this topic in this site instead of stackoverflow.com because it may be a problem limited to
lualatex? Yes, I know that lua has a very bad pattern parser, but I hope I can find
$, if either it is the first char of line, or if it does not have
\ before. Thanks so very much for the help.