From 1d8ed81bcb817139a50404646b753192de787576 Mon Sep 17 00:00:00 2001 From: Tianyi Liang Date: Sun, 11 Jan 2015 12:00:10 -0600 Subject: adjusted to both v2.0 and v2.5 string literals --- src/util/regexp.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/util') diff --git a/src/util/regexp.cpp b/src/util/regexp.cpp index 24e894678..6bbdcb36a 100644 --- a/src/util/regexp.cpp +++ b/src/util/regexp.cpp @@ -117,9 +117,11 @@ std::string String::toString() const { if(isprint( c )) { if(c == '\\') { str += "\\\\"; - } else if(c == '\"') { - str += "\\\""; - } else { + } + //else if(c == '\"') { + // str += "\\\""; + //} + else { str += c; } } else { -- cgit v1.2.3