[Zope] Catalog question

Kevin Carlson khcarlso@bellsouth.net
Mon, 2 Dec 2002 13:43:53 -0500


Is it possible using an expression to disallow an object being added to a
catalog based on a certain string being contained in its path?  For example,
I want to include all objects in a subfolder except if the path includes the
name 'sample' in the path.

I think this may be possible utilizing the "expr" field on the Find Objects
tab of a ZCatalog, but I'm not certain how to write the expression.  Can
anyone offer some advice?

Thanks,

Kevin