[Zope] regular expressions with re
Walter Pleyer
walter.pleyer@euromarketing.at
Wed, 09 Jan 2002 10:08:49 +0100
Hi folks!
I have a strange little proble when I want to use the python module "re" in
Zope.
Importing it is no problem and works flawlessly.
Compiling the re-expression also works fine.
But I run into troubles as soon, as I try to do something with it.
For example, I'd like to check for the @ character in an email-address.
According to the python howtos it works like this:
import re
p=re.compile("@")
m=p.match("walter@pleyer.com")
This works fine, when I try it with a standard python interpreter.
But if I try in Zope it wants my password as soon as I try the match-operation
and never completes it.
Any Ideas?
Thanx,
Walter