[Zope] Regular Expressions in Python Scripts
Chris Withers
chrisw@nipltd.com
Tue, 12 Jun 2001 16:59:24 +0100
Andreas Pauley wrote:
>
> Hi all,
> Does anyone know why the Regular Expression Module (re) is not allowed
> in Python Scripts?
> I can understand that modules like os and sys may have security issues,
> but why re?
It's relatively easy to send your server into an infinite recursion with an
unfortunate regular expression. ( I've done it, and spent about 2 hrs trying to
figure out why the test run which had been passing for weeks was suddenly
hanging unexplainably)
You can enable them, but it's a pain in the butt...
cheers,
Chris