1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:27:35 +00:00

LibRegex+LibJS: Change capture group names from a String to a FlyString

The parser now stores this as a FlyString everywhere, so consumers can
also use it as a FlyString.
This commit is contained in:
Timothy Flynn 2021-08-19 06:48:32 -04:00 committed by Andreas Kling
parent 4f2cbe119b
commit c5b5c779ff
2 changed files with 4 additions and 4 deletions

View file

@ -487,7 +487,7 @@ public:
}
RegexStringView view { nullptr };
Optional<StringView> capture_group_name {};
Optional<FlyString> capture_group_name {};
size_t line { 0 };
size_t column { 0 };
size_t global_offset { 0 };