Skip to content

Commit 95ce6f3

Browse files
committed
Use inline flags with local scope.
1 parent 1311cec commit 95ce6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
url='{package_url}/issues/{issue}',
1515
),
1616
dict(
17-
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
17+
pattern=r'(?m:^((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n)',
1818
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
1919
),
2020
dict(

0 commit comments

Comments
 (0)