DEV Community

Discussion on: How do you feel about regex?

Collapse
 
valeriavg profile image
Valeria

My current stance is that RegExps are hard to read, have performance issues and some dangerous pitfalls (e.g. regular expression denial of service (ReDoS)).

I find it more pleasant to write small custom parsers instead.