mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
cce000d57c
If some state has already been tried, skip over it as it would never lead to a match regardless. This fixes performance/memory issues in cases like /(a+)+b/.exec("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") or /(a|a?)+b/... Fixes #2622. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Forward.h | ||
Regex.h | ||
RegexByteCode.cpp | ||
RegexByteCode.h | ||
RegexBytecodeStreamOptimizer.h | ||
RegexDebug.h | ||
RegexDefs.h | ||
RegexError.h | ||
RegexLexer.cpp | ||
RegexLexer.h | ||
RegexMatch.h | ||
RegexMatcher.cpp | ||
RegexMatcher.h | ||
RegexOptimizer.cpp | ||
RegexOptions.h | ||
RegexParser.cpp | ||
RegexParser.h |