[Zope] Using RegEx in Script(Python)

Andreas Pakulat ap125@informatik.uni-rostock.de
Fri, 27 Jun 2003 01:09:27 +0200


Hi,

I wanted to know if the above can be done? What I need is a function
that replaces every character of a string, that is not in [a-zA-Z1-9]
with an underscore. I want to use this to automatically create an
Object-Id from a title, to create a new Object.

If this is not possible directly within a Script(Python), can it be done
using an ExternalMethod? I suppose yes.

Andreas

-- 
You'll be called to a post requiring ability in handling groups of people.