From a0a5e8248183b46f554d13bf2a42fbbb1fb6fa09 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 1 May 2020 14:54:08 +0530 Subject: Changes on console error --- mitmproxy/command_lexer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mitmproxy/command_lexer.py b/mitmproxy/command_lexer.py index 93f87ac5..31458f4d 100644 --- a/mitmproxy/command_lexer.py +++ b/mitmproxy/command_lexer.py @@ -12,11 +12,11 @@ PartialQuotedString = pyparsing.Regex( r''' (["']) # start quote (?: - (?!\1)[^\\] # unescaped character that is not our quote nor the begin of an escape sequence. We can't use \1 in [] - | (?:\\.) # escape sequence + | + (?!\1). # unescaped character that is not our quote nor the begin of an escape sequence. We can't use \1 in [] )* - (?:\1?|$) # end quote + (?:\1|$) # end quote ''', re.VERBOSE ) -- cgit v1.2.3