Regular expressions are usually precluded as a potential security risk.
You can enable imports into Python Scripts (see instructions in the
source) fairly easily. Or you can do the regular expression processing
you need in an External Method or Product.
And, of course, you'll need to "import re" in the module where you
On Thu, 20 Apr 2006, April Lekin wrote:
> Can you use regular expressions in Zope?
> I'm trying to do a date match, something like this:
> date = re.match(l_date, '\d\d\d\d\/\d\d/\d\d')
> Looks like it doesn't like the "re.match"?
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -