mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
LibRegex: Disallow duplicate named capture groups in ECMA262 parser
This commit is contained in:
parent
be3b806487
commit
733a70671b
4 changed files with 11 additions and 0 deletions
|
@ -38,6 +38,7 @@ enum __Regex_Error {
|
|||
__Regex_InvalidCaptureGroup, // Content of capture group is invalid.
|
||||
__Regex_InvalidNameForCaptureGroup, // Name of capture group is invalid.
|
||||
__Regex_InvalidNameForProperty, // Name of property is invalid.
|
||||
__Regex_DuplicateNamedCapture, // Duplicate named capture group
|
||||
};
|
||||
|
||||
enum ReError {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue