mirror of https://github.com/gorhill/uBlock.git
Code review of 9d1913a16e
Also eat backslash for `\\`, to allow searching for literal `\n`, `\t`.
This commit is contained in:
parent
7fc31512f2
commit
ad9b34bc7a
|
@ -167,6 +167,7 @@
|
|||
if (ch === "n") return "\n";
|
||||
if (ch === "r") return "\r";
|
||||
if (ch === 't') return '\t';
|
||||
if (ch === '\\') return '\\';
|
||||
return _;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue