Uses re.compile flags argument, not inline flags (#628)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This commit replaces the use of terminal inline flags in a regular expression in `re.compile`, re.compile(r'\w+(?u)') with arguments to the `re.compile` function itself, re.compile(r'\w+', re.UNICODE) because the former is deprecated as of Python 3.6.
authored by jfinkels · committed by David Lord · parent 363ab44 · Browse files · 1 file+2 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−2 removed
- other:+2 added−2 removed