diff options
author | Tianyi Liang <tianyi-liang@uiowa.edu> | 2015-01-11 12:00:10 -0600 |
---|---|---|
committer | Tianyi Liang <tianyi-liang@uiowa.edu> | 2015-01-11 12:00:10 -0600 |
commit | 1d8ed81bcb817139a50404646b753192de787576 (patch) | |
tree | 0f7cee0f34afedb221dd1d26e5c25b6e56a43b66 /src/util | |
parent | 2d0ba1036e35a6ce6cb8d5cd9e68d311ae8cde80 (diff) |
adjusted to both v2.0 and v2.5 string literals
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/regexp.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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 { |