this fixes looking up ##a[href^="..."]

This commit is contained in:
gorhill 2015-06-19 13:11:30 -04:00
parent 4a563538b0
commit de393cf020
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ var fromCosmeticFilter = function(details) {
} else if ( reHighLow.test(filter) ) { // [alt] or [title]
reStr = rescape('c\vhlg0\v' + filter);
} else if ( reHighMedium.test(filter) ) { // [href^="..."]
reStr = rescape('c\vhmg0\v') + '\\w+' + rescape('\v' + filter);
reStr = rescape('c\vhmg0\v') + '[a-z.-]+' + rescape('\v') + '[a-z]*' + rescape(filter);
} else { // all else
reStr = rescape('c\vhhg0\v' + filter);
}