File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def matcher_url(ref) -> str:
112112 """
113113 Returns URL of the reference markup from reference url in Markdown format
114114 """
115- markup_regex = "\[([^\[]+)]\(\s*(http[s]?://.+)\s*\)"
115+ markup_regex = r "\[([^\[]+)]\(\s*(http[s]?://.+)\s*\)"
116116 matched_markup = re .findall (markup_regex , ref )
117117 if matched_markup :
118118 return matched_markup [0 ][1 ]
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ def matcher_url(ref) -> str:
154154 """
155155 Returns URL of the reference markup from reference url in Markdown format
156156 """
157- markup_regex = "\[([^\[]+)]\(\s*(http[s]?://.+)\s*\)"
157+ markup_regex = r "\[([^\[]+)]\(\s*(http[s]?://.+)\s*\)"
158158 matched_markup = re .findall (markup_regex , ref )
159159 if matched_markup :
160160 return matched_markup [0 ][1 ]
You can’t perform that action at this time.
0 commit comments