Page 1 of 1

lua patterns

Posted: 12 Apr 2023 14:53
by jelv
https://fhug.org.uk/kb/kb-article/under ... -patterns/

Character class %g is missing

%g represents all printable characters except space

Re: lua patterns

Posted: 12 Apr 2023 15:00
by tatewise
That was added in Lua 5.2 so does not apply to FH V5 & V6 and only to applies to FH V7 with Lua 5.3.
Thus, adding that class will need a caveat that it cannot be used if backward compatibility is required.

Re: lua patterns

Posted: 12 Apr 2023 15:02
by ColeValleyGirl
Done -- do you happen to know when it was introduced -- 5.2 or 5.3?

Re: lua patterns

Posted: 12 Apr 2023 15:04
by ColeValleyGirl
Thanks for answering my question at the same time as I asked it, Mike :)

Have noted that it doesn't apply to 5.1, but suspect you're the only author who cares about backwards compatibility.