mediawiki-extensions-Visual.../modules/ve-mw/ui/inspectors
David Chan f9c41c754b Correct unicode range in legal title regular expression
The old regex was lifted from PHP, which matches on UTF-8 byte sequences.
In PHP, [...\x80-\xFF]+ matches any bytes with the high bit set, which
by the particular properties of UTF-8 will match any sequence which
represents a Unicode character above U+007F.

In Javascript, regex matching is on UTF-16 Unicode code units, so we
don't have to do byte sequence matching (and cannot do so). So the
equivalent Javascript regex should use [...\u0080-\uFFFF]+, to match any
code unit above U+007F directly. (It also matches surrogate pairs, by
the particular properties of UTF-16, so any Unicode codepoint above
U+007F is matched).

Change-Id: I674b89f757b60331dd1cb23fd7ff8b18775012e9
2013-08-20 18:03:38 +00:00
..
ve.ui.MWAlienExtensionInspector.js Fix MWAlienExtensionNode's extensionName in ce update 2013-08-15 10:40:58 +01:00
ve.ui.MWExtensionInspector.js Allow inspectors to not show the delete button 2013-08-14 18:50:39 +00:00
ve.ui.MWHieroInspector.js Hieroglyphics support 2013-08-07 09:43:04 +00:00
ve.ui.MWLinkInspector.js Correct unicode range in legal title regular expression 2013-08-20 18:03:38 +00:00
ve.ui.MWMathInspector.js Create base MWExtensionNode for simple extension support 2013-08-07 17:39:31 +08:00