Hi Zopers: I am trying to do some very basic pattern matching, but to my surprise Zope does not seem to support it very well now (or I have not been able to find the right docs). I found a couple of items from Runyaga in ZopeZen and ZopeLabs regarding regexes: <http://zopezen.org/SDot/993647662/index_html> <http://www.zopelabs.com/cookbook/993591088> The above postings are old (about 1 year), and I wonder if there's better support for regexes now...? Where can I look? What I want to do is awfully simple: I have a folder object with other objects (pictures, html docs, etc.) which I want to traverse, and based on the object id's (file names are a string consisting of date + obj type, for example: 2002_July_08_pic_1.jpg), I want to group them, and print headers for each group, for example: Photos for July 7 <dtml-if expr="id =~ /2002_July_7/"> <- Just a 'perlarized' example <img src="&dtml-id;"> <dtml-if> Photos for July 8 <dtml-if expr="id =~ /2002_July_8/"> <- Just a 'perlarized' example <img src="&dtml-id;"> <dtml-if> I know I could go to properties, and add some kind of properties to each object, but that is not possible as I have lots, and it would be to hard to go TTW to add some property to each one of them....Or should I just give up DTML in this case? Any idea is welcome. Thanks!, Jorge M. -- Jorge O. Martinez MIS Senior Associate FDCH-eMedia Inc. 2400 Forbes Blvd., Suite 200 Lanham, MD 20706 E-mail => jmartinez@eMediaMillWorks.com Phone => (301)731-1228 ext. 105 Fax => (301)731-0937