3 ms·
Okay, let me amend my comment. If you have a degree in CS, you're absolutely sure that you've understood all the caveats of the libraries you're using, and you
by uxp8u61q 3y ago
Okay, let me amend my comment. If you have a degree in CS, you're absolutely sure that you've understood all the caveats of the libraries you're using, and you limit your inputs so that the expected running time is under your target execution time, then you can avoid putting a timeout on your regex executions. In any other case, add a timeout.
- burntsushi 3y agoI certainly wouldn't agree with that at all. And I don't see what a "degree in CS" has to do with anything.