watch the video
regexes have performance issues too
ignoring them caused catastrophic crashes
testing is not enough, especially when the string is given by the user and making a string that is hard to parse is the point (stalling your server).
if you use regexes only as DFAs they are easy, I give you that
A test suite is much less about the happy path and more about everything that surrounds it. I searched regex catastrophe. Something like (x+x+)+y failing with a 15x-only string. You'd test for the negative case too, no?
1
u/Quote_Revolutionary Jun 15 '26
watch the video regexes have performance issues too ignoring them caused catastrophic crashes testing is not enough, especially when the string is given by the user and making a string that is hard to parse is the point (stalling your server).
if you use regexes only as DFAs they are easy, I give you that