We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d703d commit 1e07a65Copy full SHA for 1e07a65
neo/rawio/tdtrawio.py
@@ -522,7 +522,8 @@ def read_tbk(tbk_filename):
522
523
# parse into a dict
524
info = OrderedDict()
525
- pattern = br'NAME=(\S+);TYPE=(\S+);VALUE=(\S+);'
+ # name and type have to be words, but value can contain floating numbers
526
+ pattern = br'NAME=(\w+);TYPE=(\w+);VALUE=(\S+);'
527
r = re.findall(pattern, chan_grp_header)
528
for name, _type, value in r:
529
info[name.decode('ascii')] = value
0 commit comments