forked from github/pelican
Merge pull request #3054 from renyuneyun/refactor/python-regex
This commit is contained in:
commit
1f6f4a3626
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ class Content:
|
|||
|
||||
(?P<quote>["\']) # require value to be quoted
|
||||
(?P<path>{}(?P<value>.*?)) # the url value
|
||||
\2""".format(intrasite_link_regex)
|
||||
(?P=quote)""".format(intrasite_link_regex)
|
||||
return re.compile(regex, re.X)
|
||||
|
||||
def _update_content(self, content, siteurl):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue