ladybird/Tests/LibRegex
Timothy Flynn f1ce998d73 LibRegex+LibJS: Combine named and unnamed capture groups in MatchState
Combining these into one list helps reduce the size of MatchState, and
as a result, reduces the amount of memory consumed during execution of
very large regex matches.

Doing this also allows us to remove a few regex byte code instructions:
ClearNamedCaptureGroup, SaveLeftNamedCaptureGroup, and NamedReference.
Named groups now behave the same as unnamed groups for these operations.
Note that SaveRightNamedCaptureGroup still exists to cache the matched
group name.

This also removes the recursion level from the MatchState, as it can
exist as a local variable in Matcher::execute instead.
2021-08-15 11:43:45 +01:00
..
Benchmark.cpp Tests: Move LibRegex tests to Tests/LibRegex 2021-05-06 17:54:28 +02:00
CMakeLists.txt Tests: Move LibRegex tests to Tests/LibRegex 2021-05-06 17:54:28 +02:00
Regex.cpp LibRegex+LibJS: Combine named and unnamed capture groups in MatchState 2021-08-15 11:43:45 +01:00
RegexLibC.cpp LibRegex: Correctly parse BRE bracket expressions 2021-07-10 22:58:24 +04:30