Y
Hacker News
new
|
ask
|
show
|
jobs
by
Kabie
1438 days ago
Interestingly enough, I find myself rarely using regex with Elixir. Thanks to erlang's excellent pattern matching syntax for binary.
2 comments
throwawaymaths
1438 days ago
I either use pattern matching for easy things or reach for nimble parsec.
link
AtNightWeCode
1438 days ago
Regex should be kept to a minimum in an API because it is a known DOS attack vector. Sounds a bit worrying if they also have parameters that affect execution time.
link