diff options
author | Micky <micheledevita2@gmail.com> | 2022-11-03 18:10:27 +0100 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-11-03 19:52:21 +0100 |
commit | 521d8a5d24f2341d814147ad0d659e3a8704c48d (patch) | |
tree | 00f65f322c61e507a91656803dc575c854cf2c15 /core | |
parent | c0de8d32d51d579e6dc1a5aac3fbcd6c7104eb61 (diff) |
Remove "?" from String.c_escape()
Diffstat (limited to 'core')
-rw-r--r-- | core/string/ustring.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index c86c8316fe..ec07654ce8 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -3899,7 +3899,6 @@ String String::c_unescape() const { escaped = escaped.replace("\\v", "\v"); escaped = escaped.replace("\\'", "\'"); escaped = escaped.replace("\\\"", "\""); - escaped = escaped.replace("\\?", "\?"); escaped = escaped.replace("\\\\", "\\"); return escaped; @@ -3916,7 +3915,6 @@ String String::c_escape() const { escaped = escaped.replace("\t", "\\t"); escaped = escaped.replace("\v", "\\v"); escaped = escaped.replace("\'", "\\'"); - escaped = escaped.replace("\?", "\\?"); escaped = escaped.replace("\"", "\\\""); return escaped; |