Also eat backslash for `\\`, to allow searching for
literal `\n`, `\t`.
This commit is contained in:
Raymond Hill 2019-07-07 07:52:37 -04:00
parent 7fc31512f2
commit ad9b34bc7a
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@
if (ch === "n") return "\n";
if (ch === "r") return "\r";
if (ch === 't') return '\t';
if (ch === '\\') return '\\';
return _;
});
}