We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06819ac commit d23b82bCopy full SHA for d23b82b
1 file changed
extract_README.py
@@ -87,7 +87,9 @@ def write(s, verbatim):
87
for l in sio:
88
89
# handle links
90
- l = re.sub( "([^ ]+) *\((https?://[^ ]+)\)", "[[\\2][\\1]]", l)
+ l = re.sub( r"([^ ]+) *\((https?://[^ ]+)\)",
91
+ r"[[\2][\1]]",
92
+ l)
93
94
if in_quote is None:
95
if len(l) <= 1:
0 commit comments