> > Calling regexp:match or similar functions is too ugly.
Hide them behind a function. We have closures so returning
a function is trivial.
Re = compile("a(b*)a"),
case Re("abba") of
match ->
erlang:display("yaaaay!");
nomatch ->
erlang:display("boooo!")
end