阅读:3034回复:4
新版Adblock Plus添加过滤规则的竖线是什么意思?
新版ABP添加过滤规则会打开一个很详尽的窗口,不过,默认值在URL前面多了一个竖线,也就是形如
|http://www........... 不知道指的是什么,好像不加竖线也行。 |
|
|
1楼#
发布于:2008-07-29 18:42
Solution to this problem: add a pipe symbol to the filter to show that there should be definitely the end of the address at this point. For example the filter swf| will block http://example.com/annoyingflash.swf but not http://example.com/swf/index.html. And the filter |http://baddomain.example/ will block http://baddomain.example/banner.gif but not http://gooddomain.example/analyze?http: ... in.example.
|
|
|
2楼#
发布于:2008-07-29 18:42
应该就是匹配终止符的意思啦
|
|
|
3楼#
发布于:2008-07-29 18:42
原来是边界符,那估计精确匹配的话可以左右都加一个竖线吧。
|
|
|
4楼#
发布于:2008-07-29 18:42
在开头的竖线就是必须以此打头。
比如:|http://www.example.com/ 将匹配 http://www.example.com/ads/ 但是不匹配: http://www.a.com/index.php?url=http://www.example.com/ 同理,在结尾的竖线表示必须以此结尾。 |
|
|