From 81cd9aae4fa3713c1639007b668f5e8e56ac1183 Mon Sep 17 00:00:00 2001 From: Eddie G Date: Mon, 24 Sep 2018 17:46:36 -0700 Subject: [PATCH] include square brackets --- parsers/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/parser.py b/parsers/parser.py index 1c6544f..a1ad01d 100644 --- a/parsers/parser.py +++ b/parsers/parser.py @@ -52,10 +52,10 @@ def split_by_commas(string): # characters which open a section inside which commas are not separators between different # arguments - open_quotes = '"\'<({' + open_quotes = '"\'<({[' # characters which close the section. The position of the character here should match the # opening indicator in `open_quotes` - close_quotes = '"\'>)}' + close_quotes = '"\'>)}]' matching_quote = '' inside_quotes = False