mirror of
https://github.com/86Box/bios-tools.git
synced 2026-02-23 01:48:22 -07:00
Improve Acer string regex
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user