remove non-greedy *? matcher

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@434 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2002-05-14 20:45:49 +00:00
parent 3675c1ebef
commit f727fbd1bf

View file

@ -77,14 +77,14 @@ _linkMatcher = r"""
\s* # whitespace
%s # tag name
\s+ # whitespace
([^"'>]|"[^"]*"|'[^']*')*? # skip leading attributes
([^"'>]|"[^"]*"|'[^']*')* # skip leading attributes
%s # attrib name
\s* # whitespace
= # equal sign
\s* # whitespace
(?P<value> # attribute value
"[^"]*" | # in double quotes
'[^']*' | # in single quotes
"[^"]*" | # in double quotes
'[^']*' | # in single quotes
[^\s>]+) # unquoted
([^"'>]|"[^"]*"|'[^']*')* # skip trailing attributes
> # close tag