diff options
author | root <skkaushik212@gmail.com> | 2020-05-01 14:54:08 +0530 |
---|---|---|
committer | root <skkaushik212@gmail.com> | 2020-05-01 14:54:08 +0530 |
commit | a0a5e8248183b46f554d13bf2a42fbbb1fb6fa09 (patch) | |
tree | 8326e0fd7f090feb03a8d33e4f824b89ef94ee74 | |
parent | 449bdf92c07f566729832a5c28dd39b743fc9d6f (diff) | |
download | mitmproxy-a0a5e8248183b46f554d13bf2a42fbbb1fb6fa09.tar.gz mitmproxy-a0a5e8248183b46f554d13bf2a42fbbb1fb6fa09.tar.bz2 mitmproxy-a0a5e8248183b46f554d13bf2a42fbbb1fb6fa09.zip |
Changes on console error
-rw-r--r-- | mitmproxy/command_lexer.py | 6 |
1 files 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 ) |