mirror of
https://gitlab.com/niansa/anyproc.git
synced 2025-03-06 20:49:24 +01:00
Improved unescape
This commit is contained in:
parent
70d8c3bd82
commit
4edccd7c26
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ public:
|
|||
for (const char c : std::string_view{str.data()+1, str.size()-2}) {
|
||||
if (c != '\\') fres.push_back(c);
|
||||
}
|
||||
while (fres.back() == quotes) fres.pop_back();
|
||||
return fres;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue