mediawiki-extensions-Scribunto/engines/LuaCommon
Brad Jorsch cd618c7a92 ustring: Handle "empty" charset like Lua does (part 2)
Lua actually treats a close-bracket at the start of a bracketed
character class as a literal, rather than using it to close the
character class. Probably unintended behavior, but it happens.

Also, have the pure-lua version throw our more informative errors on
error even when falling back to string.find and the like, and fix some
other weird edge cases that came up in testing.

Bug: T95958
Bug: T115686
Change-Id: Iab783d4a3e58b1514cc09729d4a71c2cb1242ee8
2015-10-16 09:26:55 -04:00
..
lualib ustring: Handle "empty" charset like Lua does (part 2) 2015-10-16 09:26:55 -04:00
HtmlLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
LanguageLibrary.php Fix some PHPCS issues 2015-06-30 13:14:58 -04:00
LibraryBase.php Add more comments and type hints 2014-12-19 19:25:53 +00:00
LuaCommon.php Fix-up for I32bad5fd9 2015-08-25 17:36:26 -07:00
LuaInterpreter.php Add more comments and type hints 2014-12-19 19:25:53 +00:00
MessageLibrary.php Fix some PHPCS issues 2015-06-30 13:14:58 -04:00
SiteLibrary.php Revert "Revert "Make tests work when $wgLanguageCode != 'en'"" 2015-02-19 22:30:47 +00:00
TextLibrary.php Adds support for JSON encoding and decoding 2015-01-26 15:13:22 -08:00
TitleLibrary.php Expose file size and MIME to Lua 2015-02-12 01:18:57 +01:00
UriLibrary.php lint: 'if(' => 'if (' 2015-06-20 21:38:56 -07:00
UstringLibrary.php ustring: Handle "empty" charset like Lua does (part 2) 2015-10-16 09:26:55 -04:00