1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00
serenity/Libraries/LibRegex
Linus Groh eea7cabdbc LibRegex: Use match_ordinary_characters() in ECMA262Parser::parse_atom()
Otherwise we would only match TokenType::Char, making all of these invalid:

- /foo,bar/
- /foo\/bar/
- /foo=bar/
- /foo-bar/
- /foo:bar/

Fixes #4243.
2020-11-29 20:35:52 +01:00
..
C LibRegex: Add RegexStringView wrapper to support utf8 and utf32 views 2020-11-27 21:32:41 +01:00
Tests LibRegex: Use match_ordinary_characters() in ECMA262Parser::parse_atom() 2020-11-29 20:35:52 +01:00
CMakeLists.txt LibRegex: Add a regular expression library 2020-11-27 21:32:41 +01:00
Forward.h LibRegex: Implement an ECMA262-compatible parser 2020-11-27 21:32:41 +01:00
Regex.h LibRegex: Add a regular expression library 2020-11-27 21:32:41 +01:00
RegexByteCode.cpp LibRegex: Fix reported compare-against value in debug 2020-11-27 21:32:41 +01:00
RegexByteCode.h LibRegex: Implement an ECMA262-compatible parser 2020-11-27 21:32:41 +01:00
RegexDebug.h LibRegex: Implement an ECMA262-compatible parser 2020-11-27 21:32:41 +01:00
RegexError.h LibRegex: Add a regular expression library 2020-11-27 21:32:41 +01:00
RegexLexer.cpp LibRegex: Allow unknown escapes in non-unicode mode (for ECMA262) 2020-11-28 10:13:33 +01:00
RegexLexer.h LibRegex: Allow unknown escapes in non-unicode mode (for ECMA262) 2020-11-28 10:13:33 +01:00
RegexMatch.h LibJS: Hook up Regex<ECMA262> to RegExpObject and implement `test()' 2020-11-27 21:32:41 +01:00
RegexMatcher.cpp LibRegex: Remove trailing newline from error_string() 2020-11-28 16:46:25 +01:00
RegexMatcher.h LibRegex: Fix clang build errors 2020-11-29 09:29:26 +01:00
RegexOptions.h LibJS: Hook up Regex<ECMA262> to RegExpObject and implement `test()' 2020-11-27 21:32:41 +01:00
RegexParser.cpp LibRegex: Use match_ordinary_characters() in ECMA262Parser::parse_atom() 2020-11-29 20:35:52 +01:00
RegexParser.h LibRegex: Use match_ordinary_characters() in ECMA262Parser::parse_atom() 2020-11-29 20:35:52 +01:00