mirror of https://github.com/gorhill/uBlock.git
fix #2664
This commit is contained in:
parent
6b293dd58b
commit
2c9c98eb79
|
@ -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 New Issue