You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
Philipp Janda edited this page Mar 11, 2015
·
2 revisions
String Library Pattern Matching
Lua 5.2 allows the NUL character ('\0') in patterns. Lua 5.1 used a
separate character class (%z) for this. The compatibility functions
of the string library unconditionally replace NUL characters with the
character class in patterns. This does not work correctly in character
ranges (e.g. "[\0-\127]").