[Zope] Regular Expressions

2006-04-20 Thread April Lekin
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

Re: [Zope] Regular Expressions

2006-04-20 Thread Dennis Allison
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: [Zope] Regular Expressions

2006-04-20 Thread Tino Wildenhain
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