Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef7bae6

Browse files
author
Fredrik Lundh
committed
replaced <some suitable mail address> with something slightly
more suitable.
1 parent ef34bd2 commit ef7bae6

1 file changed

Lines changed: 25 additions & 4 deletions

File tree

Lib/re.py

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,32 @@
1-
# change this to "pre" if your regexps stopped working. don't
2-
# forget to send a bug report to <some suitable address>
1+
#
2+
# Minimal "re" compatibility wrapper
3+
#
4+
# If your regexps don't work well under 2.0b1, you can switch
5+
# to the old engine ("pre") down below.
6+
#
7+
# To help us fix any remaining bugs in the new engine, please
8+
# report what went wrong. You can either use the following web
9+
# page:
10+
#
11+
# http://www.python.org/search/search_bugs.html
12+
#
13+
# or send a mail to SRE's author:
14+
#
15+
# Fredrik Lundh <[email protected]>
16+
#
17+
# Make sure to include the pattern, the string SRE failed to
18+
# match, and what result you expected.
19+
#
20+
# thanks /F
21+
#
322

423
engine = "sre"
24+
# engine = "pre"
525

626
if engine == "sre":
7-
# new 2.0 engine
27+
# New unicode-aware engine
828
from sre import *
929
else:
10-
# old 1.5.2 engine. will be removed in 2.0 final.
30+
# Old 1.5.2 engine. This one supports 8-bit strings only,
31+
# and will be removed in 2.0 final.
1132
from pre import *

0 commit comments

Comments
 (0)