i wanted to write a lua-macro doing some sort of a cleanup-filename-from-unwanted-chars in Editor, Dialog and Shell. But then I discovered that lua does only support patterns but no real regex. And now I need a little help.
How can I do this in LuaFar in a short way?
NewFileName="Long File With Date in Name 2014.10.07.txt"
1. Is there pure lua in far? Or is there a "regex support" (there are some libraries aoround in the web) added to LuaFar?
2. Is there a way to use the "Frontier Pattern" in LuaFar (http://lua-users.org/wiki/FrontierPattern)?
3. Can I add lookAhead/lookBehind/...-regex (ex. "
(?=\d)") in a lua macro by using other functions from Far?