re seems to prefer sre over pre these days, so the following bit of
Products/PythonScripts/module_access_examples.py no longer works:
# from re import RegexObject, MatchObject
The reason seems to be that sre doesn't define RegexObject and
MatchObject, preferring instead to define types SRE_Pattern and
SRE_Match, which can't be imported.
Arguably this is probably a deficiency in sre, but as it stands, it
seems to be currently impossible to use re inside of python scripts.
I'm using an EM.
I'll file a Collector issue on this one, unless someone has a solution,
or someone wants to just take the 're' section out of
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -