mirror of https://github.com/scrapy/scrapy.git
Revert another non-change comment
This commit is contained in:
parent
935387aaea
commit
7809c0b14e
|
|
@ -88,7 +88,7 @@ def extract_regex(regex, text, encoding='utf-8'):
|
|||
try:
|
||||
strings = [regex.search(text).group('extract')] # named group
|
||||
except Exception:
|
||||
strings = regex.findall(text) # full regex or numbered groups
|
||||
strings = regex.findall(text) # full regex or numbered groups
|
||||
strings = flatten(strings)
|
||||
|
||||
if isinstance(text, six.text_type):
|
||||
|
|
|
|||
Loading…
Reference in New Issue