Add escaped backslash
This commit is contained in:
parent
c4837ca9b0
commit
c3e12b087a
@ -21,6 +21,8 @@ static std::optional<char> get_escaped(std::string_view inspected) {
|
|||||||
return '\r';
|
return '\r';
|
||||||
if (inspected == "t")
|
if (inspected == "t")
|
||||||
return '\t';
|
return '\t';
|
||||||
|
if (inspected == "\\")
|
||||||
|
return '\\';
|
||||||
if (inspected.size() <= 3) {
|
if (inspected.size() <= 3) {
|
||||||
for (char c : inspected) {
|
for (char c : inspected) {
|
||||||
std::cout << c << std::endl;
|
std::cout << c << std::endl;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user