ladybird/Tests/LibRegex
Ali Mohammad Pur 7f530c0753 LibRegex: Bail out of atomic rewrite if a block doesn't contain compares
If a block jumps before performing a compare, we'd need to recursively
find the first of the jumped-to block. While this is doable, it's not
really worth spending the time as most such cases won't actually qualify
for atomic loop rewrite anyway.
Fixes an invalid rewrite when `.+` is followed by an alternation, e.g.
/.+(a|b|c)/.
2023-02-15 10:14:26 +01:00
..
CMakeLists.txt Tests: Remove LibRegex benchmark test file that has become stale 2022-10-10 12:23:12 +02:00
Regex.cpp LibRegex: Bail out of atomic rewrite if a block doesn't contain compares 2023-02-15 10:14:26 +01:00
RegexLibC.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00