svn-gvsig-desktop / tags / v1_0_2_Build_898 / extensions / extScripting / scripts / jython / Lib / re.py @ 10513
History | View | Annotate | Download (342 Bytes)
1 | 5782 | jmvivo | |
---|---|---|---|
2 | __all__ = [ "match", "search", "sub", "subn", "split", "findall", |
||
3 | "compile", "purge", "template", "escape", "I", "L", "M", "S", "X", |
||
4 | "U", "IGNORECASE", "LOCALE", "MULTILINE", "DOTALL", "VERBOSE", |
||
5 | "UNICODE", "error" ] |
||
6 | |||
7 | import sre, sys |
||
8 | module = sys.modules['re']
|
||
9 | for name in __all__: |
||
10 | setattr(module, name, getattr(sre, name)) |