mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 16:25:00 +00:00
0367e9bddd
The pure-Lua ustring pattern matching functions short-circuit to the much faster string library when the pattern would match the same against the raw bytes. A pattern like "[^a-z]" can match a partial UTF-8 character when applied bytewise, and so must be detected as unsafe. Let's also directly test the pure-Lua module, instead of me having to comment out lines in Scribunto_LuaUstringLibrary::register() whenever I want to test them. Change-Id: I91ed3374aadfea379b9db2e13b4248ab20df509e |
||
---|---|---|
.. | ||
luabit | ||
ustring | ||
bit32.lua | ||
libraryUtil.lua | ||
mw.html.lua | ||
mw.language.lua | ||
mw.lua | ||
mw.message.lua | ||
mw.site.lua | ||
mw.text.lua | ||
mw.title.lua | ||
mw.uri.lua | ||
mw.ustring.lua | ||
mwInit.lua | ||
package.lua |