Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jancsika
on Nov 28, 2018
|
parent
|
context
|
favorite
| on:
ECMAScript regular expressions are getting better ...
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
on Nov 28, 2018
[–]
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: