Regular Expressions in Python Scripts
12 Jun
2001
12 Jun
'01
3:54 p.m.
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? Andreas.
12 Jun
12 Jun
3:59 p.m.
New subject: [Zope] Regular Expressions in Python Scripts
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
9065
Age (days ago)
9065
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andreas Pauley -
Chris Withers