diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-05-01 12:45:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 12:45:28 +0200 |
commit | a802899491ba87218d7878bc4ac73dcf59c9275e (patch) | |
tree | 79f93adb6287f48379df549b5f2ea85b3b5bd550 /mitmproxy/command_lexer.py | |
parent | 1348ef7de811bd8416286664ec6e0bdce20636d0 (diff) | |
parent | 4dd9abd6a9df35ef6b6488cccdd3b4a7f80c094a (diff) | |
download | mitmproxy-a802899491ba87218d7878bc4ac73dcf59c9275e.tar.gz mitmproxy-a802899491ba87218d7878bc4ac73dcf59c9275e.tar.bz2 mitmproxy-a802899491ba87218d7878bc4ac73dcf59c9275e.zip |
Merge pull request #3956 from sarthak212/consoleerror
console error
Diffstat (limited to 'mitmproxy/command_lexer.py')
-rw-r--r-- | mitmproxy/command_lexer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/command_lexer.py b/mitmproxy/command_lexer.py index f042f3c9..31458f4d 100644 --- a/mitmproxy/command_lexer.py +++ b/mitmproxy/command_lexer.py @@ -12,9 +12,9 @@ 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 ''', |