Files
ladybird/Userland/Libraries/LibRegex/RegexOptimizer.cpp
Ali Mohammad Pur af441bb939 LibRegex: Consider the inverse=true case when finding pattern overlap
Previously we were only checking for overlap when the range wasn't in
inverse mode, which made us miss things like /[^x]x/; this patch makes
it so we don't miss that.
2023-02-15 10:14:26 +01:00

40 KiB