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
ve.ui.MWHieroInspector.js
ve.ui.MWLinkInspector.js Correct unicode range in legal title regular expression 2013-08-20 18:03:38 +00:00
ve.ui.MWMathInspector.js