mirror of https://github.com/gorhill/uBlock.git
this fixes looking up ##a[href^="..."]
This commit is contained in:
parent
4a563538b0
commit
de393cf020
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue