Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
Main Page
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Files
Functions
Variables
re.py
Go to the documentation of this file.
1
"""Minimal "re" compatibility wrapper"""
2
3
# If your regexps don't work well under 2.0b1, you can switch
4
# to the old engine ("pre") down below.
5
#
6
# To help us fix any remaining bugs in the new engine, please
7
# report what went wrong. You can either use the following web
8
# page:
9
#
10
# http://sourceforge.net/bugs/?group_id=5470
11
#
12
# or send a mail to SRE's author:
13
#
14
# Fredrik Lundh <effbot@telia.com>
15
#
16
# Make sure to include the pattern, the string SRE failed to
17
# match, and what result you expected.
18
#
19
# thanks /F
20
#
21
22
engine =
"sre"
23
# engine = "pre"
24
25
if
engine ==
"sre"
:
26
# New unicode-aware engine
27
from
sre
import
*
28
from
sre
import
__all__
29
else
:
30
# Old 1.5.2 engine. This one supports 8-bit strings only,
31
# and will be removed in 2.0 final.
32
from
pre
import
*
33
from
pre
import
__all__
builtin
re.py
Generated on Mon Feb 17 2014 12:38:42 for Vega strike Python Modules doc by
1.8.4