Add parentheses to token regexes in case of alternation; replace tabs with spaces in error toString