If you are using erlang you should be using pattern matching not regex. Erlang/Elixir are one of the easiest languages to build parsers in with their binary string pattern matching.
It's a big step.
https://github.com/kanaka/mal/blob/master/process/guide.md#s...