1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

mind pipe anchors when highlighting as per filter

This commit is contained in:
gorhill 2015-03-01 08:57:43 -05:00
parent b58cefbdbe
commit cc5c4bb32e

View File

@ -59,6 +59,8 @@ var renderURL = function(url, filter) {
.replace(/\?/g, '\\?')
.replace('||', '')
.replace(/\^/g, '.')
.replace(/^\|/g, '^')
.replace(/\$$/g, '$')
.replace(/\*/g, '.*')
;
}