2 ms·
Is there a linter that can scan ECMAScript regex constants and disallow any that go beyond what is allowed in a regular language?
by jancsika 8y ago
Is there a linter that can scan ECMAScript regex constants and disallow any that go beyond what is allowed in a regular language?
- ridiculous_fish 8y agoIs the idea to avoid catastrophic backtracking? Unfortunately you aren't immunized from catastrophic backtracking by limiting yourself to regular languages. The catastrophe is a property of the implementation, not the matched language.