top | item 32103907

(no title)

Kabie | 3 years ago

Interestingly enough, I find myself rarely using regex with Elixir. Thanks to erlang's excellent pattern matching syntax for binary.

discuss

order

throwawaymaths|3 years ago

I either use pattern matching for easy things or reach for nimble parsec.

AtNightWeCode|3 years 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.