mirror of https://github.com/gorhill/uBlock.git
mind pipe anchors when highlighting as per filter
This commit is contained in:
parent
b58cefbdbe
commit
cc5c4bb32e
|
@ -59,6 +59,8 @@ var renderURL = function(url, filter) {
|
||||||
.replace(/\?/g, '\\?')
|
.replace(/\?/g, '\\?')
|
||||||
.replace('||', '')
|
.replace('||', '')
|
||||||
.replace(/\^/g, '.')
|
.replace(/\^/g, '.')
|
||||||
|
.replace(/^\|/g, '^')
|
||||||
|
.replace(/\$$/g, '$')
|
||||||
.replace(/\*/g, '.*')
|
.replace(/\*/g, '.*')
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue