X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/abf54aca0249991782a129419bd9a0552a46aef1..0b96f40320c4d980c7e338ccfc525dbf027ed528:/python/disorder.py.in?ds=sidebyside diff --git a/python/disorder.py.in b/python/disorder.py.in index 595ee92..23f840c 100644 --- a/python/disorder.py.in +++ b/python/disorder.py.in @@ -62,8 +62,8 @@ _userconf = True # various regexps we'll use _ws = re.compile(r"^[ \t\n\r]+") -_squote = re.compile("'(([^\\\\']|\\\\[\\\\\"'n])+)'") -_dquote = re.compile("\"(([^\\\\\"]|\\\\[\\\\\"'n])+)\"") +_squote = re.compile("'(([^\\\\']|\\\\[\\\\\"'n])*)'") +_dquote = re.compile("\"(([^\\\\\"]|\\\\[\\\\\"'n])*)\"") _unquoted = re.compile("[^\"' \\t\\n\\r][^ \t\n\r]*") _response = re.compile("([0-9]{3}) ?(.*)")