4 ms·
Interestingly enough, I find myself rarely using regex with Elixir. Thanks to erlang's excellent pattern matching syntax for binary.
by Kabie 4y ago
Interestingly enough, I find myself rarely using regex with Elixir. Thanks to erlang's excellent pattern matching syntax for binary.
- throwawaymaths 4y agoI either use pattern matching for easy things or reach for nimble parsec.
- AtNightWeCode 4y agoRegex 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.