diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/cvetools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/cvetools.py b/lib/python/cvetools.py index 69899cf..0e71504 100644 --- a/lib/python/cvetools.py +++ b/lib/python/cvetools.py @@ -73,7 +73,7 @@ class CVEData: match = re.findall(r'<b>Provided and/or discovered by</b>:(.+?)<b>', html, flags = re.S) if match: text = re.sub('<.*?>', '', match[0]) - names[SAid] = [re.sub(r'in a .* bug report', '', re.sub(r'^[\d,) ]*(.* credits|Reported by)?', '', line)).strip(' \n.') for line in text.split('\n')] + names[SAid] = [re.sub(r'(in|via) a .* bug report', '', re.sub(r'^[\d,) -]*(.* credits|Reported by)?', '', line)).strip(' \r\n.') for line in text.split('\n')] return names |