Closed conartist6 closed 3 years ago
If we could detect this happening at the pattern level and optimize away the initial repeat(unmatched(), false), it would save a significant amount of useless work when matching anchored expressions.
repeat(unmatched(), false),
This should be accompanied by a rework of the testing code to ensure that both anchored and unanchored versions of common expressions are tried
If we could detect this happening at the pattern level and optimize away the initial
repeat(unmatched(), false),
it would save a significant amount of useless work when matching anchored expressions.