aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/data/plugins/cookies.py2
1 files changed, 1 insertions, 1 deletions
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)