From 9d2e1701c2ba1802bf90f3efb75193414931432a Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 11 Apr 2022 17:32:13 -0300 Subject: [PATCH] Fix missing Intel version on a handful of Intel AMIBIOS 6 --- biostools/analyzers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/biostools/analyzers.py b/biostools/analyzers.py index 6113458..4fd6e90 100644 --- a/biostools/analyzers.py +++ b/biostools/analyzers.py @@ -322,7 +322,7 @@ class AMIAnalyzer(Analyzer): self._check_pattern = re.compile(b'''American Megatrends Inc|AMIBIOSC| Access Methods Inc\\.|AMI- ([0-9]{2}/[0-9]{2}/[0-9]{2}) (?:IBM is a TM of IBM|[\\x00-\\xFF]{2} AMI-[^-]+-BIOS )''') self._date_pattern = re.compile(b'''([0-9]{2}/[0-9]{2}/[0-9]{2})[^0-9]''') self._uefi_csm_pattern = re.compile('''63-0100-000001-00101111-......-Chipset$''') - self._intel_86_pattern = re.compile('''(?:[0-9A-Z]{8})\\.86(?:[0-9A-Z])\\.(?:[0-9A-Z]{4})\\.(?:[0-9A-Z]{3})\\.(?:[0-9]{10})$''') + self._intel_86_pattern = re.compile('''[0-9A-Z]{8}\\.86[0-9A-Z]\\.[0-9A-Z]{3,4}\\.[0-9A-Z]{1,4}\\.[0-9]{10}$''') # The "All Rights Reserved" is important to not catch the same header on other files. # "All