Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
AzzieElbab
on May 10, 2021
|
parent
|
context
|
favorite
| on:
Solving the regex of madness, and snarky answers o...
That kind of depends on the language I am using, as well as dealing with performance requirements vs readability tradeoffs.
goto11
on May 10, 2021
[–]
What I like about regexes is they are typically both the most readable
and
the best performing solution to the kind of problems they are suited for.
Just don't use them for validating email addresses or determining if a number is a prime.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: