IssueID #1487: fixed regexp
This commit is contained in:
parent
80e5055729
commit
3761f8b253
|
@ -29,7 +29,7 @@ for line in input_file:
|
||||||
if (line[0].isdigit()):
|
if (line[0].isdigit()):
|
||||||
output_map['tokens'].append(line.strip())
|
output_map['tokens'].append(line.strip())
|
||||||
else:
|
else:
|
||||||
match = re.search('^# (.+) = (.+)$', line)
|
match = re.search('^# (.+?) = (.+)$', line)
|
||||||
if (match):
|
if (match):
|
||||||
(name, value) = match.groups()
|
(name, value) = match.groups()
|
||||||
if (name == 'newpar id'):
|
if (name == 'newpar id'):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user