diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-12-24 07:21:54 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-12-24 07:21:54 -0700 |
commit | 7c87ebed095a50fb7bd0de60c7cabb859e483535 (patch) | |
tree | d4cdac16ff2856d0c03b388f79611761bdcfec0b /examples/data/plugins | |
parent | b5128025a21a18f13f54adfb8ad116e71037b51d (diff) |
WHITE/BLACKLIST_COOKIE regexp matches anywhere in the string (instead of only from start)
Diffstat (limited to 'examples/data/plugins')
-rw-r--r-- | examples/data/plugins/cookies.py | 2 |
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) |