Treat escape sequences like other replacements

This commit is contained in:
Cameron Gutman 2024-02-10 00:15:30 -06:00
parent c0ad9639c4
commit 78ed91af5c

View File

@ -722,9 +722,8 @@ namespace platf {
switch (next_char) {
// Escape character
case L'%':
// Skip this character and the next one
match_pos += 2;
continue;
match_replacement = L'%';
break;
// Argument replacements
case L'0':