Comment by Buge
6 years ago
The original one would match "==", your suggestion would not. To get a clean regex they should switch to
.*=.*
I don't think they should spend any time contemplating whether a regex will backtrack, because it's hard. Instead they should (and are planning to) simply switch to a better regex library that never backtracks.
No comments yet
Contribute on Hacker News ↗