Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
allow re._subx() for "regex" feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Stinner committed Jun 23, 2010
1 parent 3d91b7e commit 326e584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandbox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def enable(self, feature):
if feature == 'regex':
self.allowModule('re',
'compile', 'match', 'search', 'findall', 'finditer', 'split',
'sub', 'subn', 'escape', 'I', 'IGNORECASE', 'L', 'LOCALE', 'M',
'sub', 'subn', '_subx', 'escape', 'I', 'IGNORECASE', 'L', 'LOCALE', 'M',
'MULTILINE', 'S', 'DOTALL', 'X', 'VERBOSE',
# FIXME: proxy() doesn't support class yet
# 'error',
Expand Down

0 comments on commit 326e584

Please sign in to comment.