You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./try.py", line 6, in <module>
regex = re.compile(pattern, re.VERBOSE)
File "/home/roy/env/python/lib/python2.7/re.py", line 190, in compilereturn _compile(pattern, flags)
File "/home/roy/env/python/lib/python2.7/re.py", line 242, in _compileraise error, v # invalid expressionsre_constants.error: nothing to repeat
The problem appears to be that re.VERBOSE isn't ignoring the space after the "(".
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: