Closed erezsh closed 1 year ago
I will actually do both I think. Stopping after a certain number of steps is easy and reliable no matter how the exact regex(es) look like. Optimizations can only provide so much I think, it will always be possible to create a very slow example I think.
Cool, well done on taking the initiative and testing them.
I think it will come down to either optimizing the algorithm, or setting a maximum number of steps, after which it exits without an example.