1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Userland/Libraries/LibRegex
Timothy Flynn e887314472 LibRegex: Fix ECMA-262 parsing of invalid identity escapes
* Only alphabetic (A-Z, a-z) characters may be escaped with \c. The loop
  currently parsing \c includes code points between the upper/lower case
  groups.
* In Unicode mode, all invalid identity escapes should cause a parser
  error, even in browser-extended mode.
* Avoid an infinite loop when parsing the pattern "\c" on its own.
2021-08-15 11:43:45 +01:00
..
C LibRegex+LibC: Make re_nsub available to the user 2021-07-13 07:04:06 +02:00
CMakeLists.txt LibRegex+LibUnicode: Begin implementing Unicode property escapes 2021-07-30 21:26:31 +01:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Regex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexByteCode.cpp LibRegex: Support property escapes of Unicode script extensions 2021-08-04 13:50:32 +01:00
RegexByteCode.h LibRegex: Support property escapes of Unicode script extensions 2021-08-04 13:50:32 +01:00
RegexDebug.h LibRegex: Switch to east-const style 2021-07-23 21:19:21 +04:30
RegexError.h LibRegex+LibUnicode: Begin implementing Unicode property escapes 2021-07-30 21:26:31 +01:00
RegexLexer.cpp LibRegex: Switch to east-const style 2021-07-23 21:19:21 +04:30
RegexLexer.h LibRegex: Switch to east-const style 2021-07-23 21:19:21 +04:30
RegexMatch.h LibRegex: Track string position in both code units and code points 2021-08-04 11:18:24 +02:00
RegexMatcher.cpp LibRegex: Track string position in both code units and code points 2021-08-04 11:18:24 +02:00
RegexMatcher.h LibRegex: Make Matcher<>::match(Vector<>) take a reference to the vector 2021-08-02 17:22:50 +04:30
RegexOptions.h LibRegex: Allow RegexOptions to be declared at compile time 2021-07-30 21:26:31 +01:00
RegexParser.cpp LibRegex: Fix ECMA-262 parsing of invalid identity escapes 2021-08-15 11:43:45 +01:00
RegexParser.h AK+Everywhere: Delete Variant's default constructor 2021-08-13 17:31:39 +04:30