Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a linter that can scan ECMAScript regex constants and disallow any that go beyond what is allowed in a regular language?


Is 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: