Skip to content

Commit bebcb12

Browse files
committed
Fixed regular expression to match the data
1 parent c68c06f commit bebcb12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/senaite/astm/instruments/horiba_pentra_xlr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from senaite.astm.mapping import Component
1212

1313
VERSION = "1.0.0"
14-
HEADER_RX = r".*(ABX|LIS).*"
14+
HEADER_RX = r".*(?<=\|)(LIS|ABX)(?=\|).*"
1515

1616

1717
def get_metadata(wrapper):

0 commit comments

Comments
 (0)