mediawiki-extensions-Scribunto/tests/engines
Brad Jorsch 0367e9bddd Fix deceptively-simple pattern in pure-Lua ustring
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
2014-08-10 01:18:18 +00:00
..
LuaCommon Fix deceptively-simple pattern in pure-Lua ustring 2014-08-10 01:18:18 +00:00
LuaSandbox Update phpunit @group annotations 2013-11-01 11:56:24 -04:00
LuaStandalone LuaStandalone: Release functions when no longer referenced 2014-02-25 22:59:05 +00:00