From 77d110de70404cbe7deb25641c3916223ec85a61 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 11 Jul 2018 18:00:08 +0200 Subject: [PATCH] fix for 'skip' and '?' in 'in' command --- src/StreamProtocol.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/StreamProtocol.cc b/src/StreamProtocol.cc index 5fde7af..9d18a68 100644 --- a/src/StreamProtocol.cc +++ b/src/StreamProtocol.cc @@ -1359,7 +1359,8 @@ compileString(StreamBuffer& buffer, const char*& source, source); return false; } - if (formatType != NoFormat) + if (formatType != NoFormat && + i > 2 /* do not escape skip */) { buffer.append(esc); }