Erlang regular expressions made easy