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
commit c5b5c779ff
Notes: sideshowbarker 2024-07-18 05:28:13 +09:00
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 };