Mercurial > public > src > moin > extensions
changeset 509:2bf20bdbbde9
macro.ListPages: removed re.escaping of search_term
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Fri, 19 Mar 2010 19:02:45 +0100 |
parents | 19604cb73d76 |
children | 6318c91263c6 |
files | data/plugin/macro/ListPages.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/data/plugin/macro/ListPages.py Fri Mar 19 19:01:51 2010 +0100 +++ b/data/plugin/macro/ListPages.py Fri Mar 19 19:02:45 2010 +0100 @@ -32,7 +32,7 @@ # based on rootpage.getPageList because search does also list attachments try: rootpage = macro.request.rootpage - filterfn = re.compile(ur"%s" % re.escape(search_term), re.U).match + filterfn = re.compile(ur"%s" % search_term, re.U).match pageobjs = rootpage.getPageList(include_underlay=False, exists=1, filter=filterfn, return_objects=True) f = macro.request.formatter ret = [''.join([f.listitem(1),