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) { switch (next_char) {
// Escape character // Escape character
case L'%': case L'%':
// Skip this character and the next one match_replacement = L'%';
match_pos += 2; break;
continue;
// Argument replacements // Argument replacements
case L'0': case L'0':