Hacker News new | ask | show | jobs
by skybrian 3019 days ago
Not an expert in this, but I'm thinking this is usually handled by switching to a non-backtracking regexp engine. Otherwise, any such validator would depend on details of the regexp engine's implementation.