ladybird/Userland/Libraries/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
..
C LibRegex: Remove some else-after-returns 2021-12-21 18:17:28 -08:00
CMakeLists.txt LibRegex: Add a basic optimization pass 2021-09-13 14:38:53 +04:30
Forward.h LibRegex: Don't push LibRegex's "Error" into the global namespace 2021-11-08 00:35:27 +01:00
Regex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexByteCode.cpp LibRegex: Support non-ASCII whitespace characters when matching \s or \S 2022-02-05 22:30:10 +03:30
RegexByteCode.h LibRegex: Make FailForks fail all forks up to the last save point 2021-12-25 18:41:10 +01:00
RegexBytecodeStreamOptimizer.h LibRegex: Use a match table for character classes 2021-10-03 19:16:36 +02:00
RegexDebug.h LibRegex: Switch to east-const style 2021-07-23 21:19:21 +04:30
RegexError.h LibRegex: Disallow duplicate named capture groups in ECMA262 parser 2021-12-21 14:04:23 +01:00
RegexLexer.cpp LibRegex: Allow null bytes in pattern 2021-08-30 18:43:09 +02:00
RegexLexer.h LibRegex: Remove some meaningless/useless const-qualifiers 2021-12-21 18:17:28 -08:00
RegexMatch.h LibRegex: Don't return empty vectors from RegexStringView::lines() 2022-01-26 00:53:09 +03:30
RegexMatcher.cpp LibRegex: Do not return an Optional from Regex::Matcher::execute 2022-02-05 19:06:50 +03:30
RegexMatcher.h LibRegex: Do not return an Optional from Regex::Matcher::execute 2022-02-05 19:06:50 +03:30
RegexOptimizer.cpp LibRegex: Preserve capture groups and matches across ForkReplace 2022-01-22 00:35:49 +00:00
RegexOptions.h LibRegex+LibJS: Avoid searching for more than one match in JS RegExps 2022-02-05 00:09:32 +01:00
RegexParser.cpp LibRegex: Implement ECMA262 multiline matching without splitting lines 2022-01-26 00:53:09 +03:30
RegexParser.h LibRegex: Implement ECMA262 multiline matching without splitting lines 2022-01-26 00:53:09 +03:30