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
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
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?
Well, if you look into the zope API documentation
you find all modules you can use in