This commit is contained in:
gorhill 2017-06-07 17:35:22 -04:00
parent 6b293dd58b
commit 2c9c98eb79
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -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'
);