mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
fix #2664
This commit is contained in:
parent
6b293dd58b
commit
2c9c98eb79
1 changed files with 2 additions and 2 deletions
|
|
@ -101,9 +101,9 @@ var fromCosmeticFilter = function(details) {
|
|||
filter = details.rawFilter.slice(prefix.length);
|
||||
|
||||
var reFilter = new RegExp(
|
||||
'(?:^|\\n)[^\\n]*?\\\\*"' +
|
||||
'[^\\n]*\\\\*"' +
|
||||
reEscapeCosmetic(filter) +
|
||||
'\\\\*"[^\\n]*?(?:\\n|$)',
|
||||
'\\\\*"[^\\n]*',
|
||||
'g'
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue