Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 131789a commit 3ead88cCopy full SHA for 3ead88c
1 file changed
lib/request/basic.py
@@ -77,9 +77,7 @@ def parseResponse(page, headers):
77
absFilePathsRegExp = ( r" in <b>(?P<result>.*?)</b> on line", r"(?:>|\s)(?P<result>[A-Za-z]:[\\/][\w.\\/]*)", r"(?:>|\s)(?P<result>/\w[/\w.]+)" )
78
79
for absFilePathRegExp in absFilePathsRegExp:
80
- reobj = re.compile(absFilePathRegExp)
81
-
82
- for match in reobj.finditer(page):
+ for match in re.finditer(absFilePathRegExp, page):
83
absFilePath = match.group("result").strip()
84
page = page.replace(absFilePath, "")
85
0 commit comments