Closed ghuls closed 4 years ago
I've reproduced the issue. Turns out the problem is that this pattern generates zero length matches (compare the patterns 'a?'
and ''
), and we assumed that that could never happen. Working on a patch, and will add a warning up front when a pattern matches the empty string because it's going to generate weird behavior.
Should be fixed.
Thanks.