fix uuid regex

The associativity rules weren't working as I expected. Needed some parentheses.