[Webkit-unassigned] [Bug 151597] Implement `u` (Unicode) flag for regular expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 12:44:07 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=151597

--- Comment #2 from Mathias Bynens <mathias at qiwi.be> ---
Seems like this has been implemented in Safari Technology Preview v9.1.1 (11601.6.10, 11602.1.25).

However, the implementation is buggy: http://mathias.html5.org/tests/javascript/regexp/

The following tests fail:

    assert_equals(/𝌆{2}/u.test('𝌆𝌆'), true);
    assert_equals(/\uD834\uDF06{2}/u.test('\uD834\uDF06\uD834\uDF06'), true);

    assert_equals(/\W/iu.test('S'), true);
    assert_equals(/\W/iu.test('K'), true);


Please fix this before shipping this in a stable release to avoid compatibility problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160330/87845533/attachment.html>


More information about the webkit-unassigned mailing list