simplified regexes in groovy calculator example

Groovy has a syntax variant that allows backslashes in regexes to remain unescaped. 
This feature greatly improves readability.
Also removed unused capture groups that might give the wrong impression that wildcards should generally be captured.