Improve Acer string regex

This commit is contained in:
RichardG867
2022-01-15 18:20:53 -03:00
parent 1bbbdda1b1
commit f152c39218

View File

@@ -271,7 +271,7 @@ class AcerAnalyzer(Analyzer):
return True
def _string(self, line, match):
'''([A-Z]{3}[A-Z0-9]{3}00-[A-Z0-9]{3}-[0-9]{6}-[^\s]+)(?:\s+(.+))?'''
'''([A-Z]{3}[0-9A-F]{2}[A-Z0-9]{3}-[A-Z0-9]{3}-[0-9]{6}-[^\s]+)(?:\s+(.+))?'''
# Extract string.
self.string = match.group(1)