Skip to content

Commit ba1359e

Browse files
committed
Fix string quotation handling error
1 parent 83825f6 commit ba1359e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hsd/dictbuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
|
2323
(?:\s*(?:^|(?<=\s))(?P<logical>[Yy][Ee][Ss]|[Nn][Oo])(?:$|(?=\s+)))
2424
|
25-
(?:(?P<qstr>(?P<quote>['"]).*?(?P=quote)) | (?P<str>.+?)(?:$|\s+))
25+
(?:\s*(?:(?P<qstr>(?P<quote>['"]).*?(?P=quote)) | (?P<str>.+?))(?:$|\s+))
2626
""", re.VERBOSE | re.MULTILINE)
2727

2828

0 commit comments

Comments
 (0)