mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
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
Block a user