From 0a4747bdfb645a009023cd4cc9fbe9a02bbe85cd Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Fri, 17 Dec 2021 13:16:24 -0300 Subject: [PATCH] Additional PCIe shortening on pciutil --- biostools/pciutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biostools/pciutil.py b/biostools/pciutil.py index 2dff260..8b76c38 100644 --- a/biostools/pciutil.py +++ b/biostools/pciutil.py @@ -54,7 +54,7 @@ clean_device_abbr = [ ('Network (?:Interface )?(?:Adapter|Card|Controller)', 'NIC'), ('NVM Express', 'NVMe'), ('Parallel ATA', 'PATA'), - ('PCI(?:-E| Express)', 'PCIe'), + ('PCI(?:-E|[- ]Express)', 'PCIe'), ('([^- ]+)[- ]to[- ]([^- ]+)', '\\2-\\3'), ('Platform Controller Hub', 'PCH'), ('Processor Graphics', 'iGPU'),