1
Fork 0
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:
davidot 2021-12-19 02:31:21 +01:00 committed by Linus Groh
parent be3b806487
commit 733a70671b
4 changed files with 11 additions and 0 deletions

View file

@ -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 {