[Zope] Search ZCatalog with wildcard

Peter Bengtsson mail@peterbe.com
Sun, 21 Apr 2002 22:02:48 +0200


I want to search my ZCatalog like I do with SQL using LIKE and % wildcards.

return context.ZCatalog({'id':'peter%%'})
...should return "peter.html", "peter.jpg", "peterblablabla" I think.

However this does not work. What is the syntax to do a wildcard search on a 
ZCatalog??