AnotherTest
c128b3fd91
LibRegex: Remove 'ReadDigitFollowPolicy' as it's no longer needed
...
Thanks to @GMTA: 1b071455b1 (r49343474)
2021-04-10 12:10:45 +02:00
Jelle Raaijmakers
db321db5f4
LibRegex: Parse \0
as a zero-byte instead of 0x30 ("0")
...
This was causing some regexes to trip up. Fixes #6202 .
2021-04-09 21:53:14 +02:00
AnotherTest
6bbb26fdaf
LibRegex: Allow references to capture groups that aren't parsed yet
...
This only applies to the ECMA262 parser.
This behaviour is an ECMA262-specific quirk, such references always
generate zero-length matches (even on subsequent passes).
Also adds a test in LibJS's test suite.
Fixes #6039 .
2021-04-01 21:55:47 +02:00
AnotherTest
f05e518cbc
LibRegex: Implement section B.1.4. of the ECMA262 spec
...
This allows the parser to deal with crazy patterns like the one
in #5517 .
2021-02-27 07:31:01 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00