A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/lunarmodules/lua-compat-5.3/wiki/pattern_matching below:

pattern_matching · lunarmodules/lua-compat-5.3 Wiki · GitHub

String Library Pattern Matching

Lua 5.2 and 5.3 allow the NUL character ('\0') in patterns. Lua 5.1 uses 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]").


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4