mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +00:00
LibRegex: Implement an ECMA262-compatible parser
This also adds support for lookarounds and individually-negated comparisons. The only unimplemented part of the parser spec is the unicode stuff.
This commit is contained in:
parent
3200ff5f4f
commit
dbef2b1ee9
11 changed files with 1321 additions and 25 deletions
|
@ -32,6 +32,7 @@ namespace regex {
|
|||
enum class Error : u8;
|
||||
class Lexer;
|
||||
class PosixExtendedParser;
|
||||
class ECMA262Parser;
|
||||
|
||||
class ByteCode;
|
||||
class OpCode;
|
||||
|
@ -50,6 +51,7 @@ class OpCode_Compare;
|
|||
class RegexStringView;
|
||||
}
|
||||
|
||||
using regex::ECMA262Parser;
|
||||
using regex::Error;
|
||||
using regex::Lexer;
|
||||
using regex::PosixExtendedParser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue