Fixed a regex that was causing parsing.

Compute() needs to be optional but if it matches we need to match the
closing parentheses.

"Some people, when confronted with a problem, think 'I know, I'll use
regular expressions.' Now they have two problems." -jwz