[Zope] "find" tab

Michel Pelletier michel@digicool.com
Wed, 29 Mar 2000 21:39:12 -0800


Chien-pin Wang wrote:
> 
> Hi,
> 
>     Since zope was introduced, I've created a handful of objects in
> the nice application server and make great progress on several projects.
> Thanks to DC and supports from people in this forum.
> 
>     Lately, these handful of objects keep growing and, from time to
> time, I need to use find an object ID based on my vague memory. The
> "find" tab in the zope interface grabbed my attention. But it seems
> only accept full ID name to be put in the search field. Is there a way
> to let "find" search by pattern or wild card characters? 

No.

> I've tried
> *<pattern>%, %<pattern>%, or just <pattern> but with no luck. Please
> advise and sorry for my bad memory for which only part of the names
> can be kept for a short while.

You can do some string matching with the 'expr' field, this lets you
type in a python expression that is evaluated against each object, for
example "id[3:] == 'bob'" would match all objects beginning with 'bob'. 
There is no regular expression facility.

This probably won't be expanded on because to a point the find tool just
doesn't scale.  If you want advanced wildcard searching of textual
content, use a Catalog.

-Michel