From 7c87ebed095a50fb7bd0de60c7cabb859e483535 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Fri, 24 Dec 2010 07:21:54 -0700 Subject: WHITE/BLACKLIST_COOKIE regexp matches anywhere in the string (instead of only from start) --- examples/data/plugins/cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/data/plugins') diff --git a/examples/data/plugins/cookies.py b/examples/data/plugins/cookies.py index 387e820..c507fd6 100644 --- a/examples/data/plugins/cookies.py +++ b/examples/data/plugins/cookies.py @@ -155,7 +155,7 @@ def add_cookie_matcher(_list, arg): except KeyError: component = int(component) assert component <= 5 - _list.append((component, re.compile(regexp).match)) + _list.append((component, re.compile(regexp).search)) def blacklist(uzbl, arg): add_cookie_matcher(uzbl.cookie_blacklist, arg) -- cgit v1.2.3