Commit 33fc474d authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Ivan Tyagov

Allow re.finditer in restricted python

parent 3a6ab690
...@@ -178,6 +178,7 @@ allow_module('fnmatch') ...@@ -178,6 +178,7 @@ allow_module('fnmatch')
allow_module('re') allow_module('re')
allow_type(type(re.compile(''))) allow_type(type(re.compile('')))
allow_type(type(re.match('x','x'))) allow_type(type(re.match('x','x')))
allow_type(type(re.finditer('x','x')))
import cStringIO import cStringIO
f = cStringIO.StringIO() f = cStringIO.StringIO()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment