Skip to content

Commit 81cd9aa

Browse files
committed
include square brackets
1 parent 92c79b3 commit 81cd9aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

parsers/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ def split_by_commas(string):
5252

5353
# characters which open a section inside which commas are not separators between different
5454
# arguments
55-
open_quotes = '"\'<({'
55+
open_quotes = '"\'<({['
5656
# characters which close the section. The position of the character here should match the
5757
# opening indicator in `open_quotes`
58-
close_quotes = '"\'>)}'
58+
close_quotes = '"\'>)}]'
5959

6060
matching_quote = ''
6161
inside_quotes = False

0 commit comments

Comments
 (0)