ladybird/Tests/LibRegex
Timothy Flynn 2212aa2388 LibRegex: Support non-ASCII whitespace characters when matching \s or \S
ECMA-262 defines \s as:

    Return the CharSet containing all characters corresponding to a code
    point on the right-hand side of the WhiteSpace or LineTerminator
    productions.

The LineTerminator production is simply: U+000A, U+000D, U+2028, or
U+2029. Unfortunately there isn't a Unicode property that covers just
those code points.

The WhiteSpace production is: U+0009, U+000B, U+000C, U+FEFF, or any
code point with the Space_Separator general category.

If the Unicode generators are disabled, this will fall back to ASCII
space code points.
2022-02-05 22:30:10 +03:30
..
Benchmark.cpp Tests: Move LibRegex tests to Tests/LibRegex 2021-05-06 17:54:28 +02:00
CMakeLists.txt Tests: Link some tests directly against LibUnicodeData 2022-01-04 22:49:43 +00:00
Regex.cpp LibRegex: Support non-ASCII whitespace characters when matching \s or \S 2022-02-05 22:30:10 +03:30
RegexLibC.cpp AK+Everywhere: Stop including Vector.h from StringView.h 2021-11-10 21:58:58 +01:00