Delta Between Two Patch Sets: Modules/sre.h
Issue 2439 :
py3k regular expressions and unicode (Closed)
Left Patch Set: Latest patch with proactive fixes to the stdlib
Right Patch Set: Final patch (hopefully) also adding the (?a) inline flag
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
Lib/_strptime.py
Lib/base64.py
Lib/decimal.py
Lib/distutils/cygwinccompiler.py
Lib/distutils/emxccompiler.py
Lib/distutils/sysconfig.py
Lib/distutils/util.py
Lib/distutils/version.py
Lib/distutils/versionpredicate.py
Lib/email/quoprimime.py
Lib/email/utils.py
Lib/encodings/idna.py
Lib/ftplib.py
Lib/html/parser.py
Lib/http/cookiejar.py
Lib/http/cookies.py
Lib/imaplib.py
Lib/json/decoder.py
Lib/logging/handlers.py
Lib/platform.py
Lib/plistlib.py
Lib/posixpath.py
Lib/py_compile.py
Lib/re.py
Lib/sre_constants.py
Lib/sre_parse.py
Lib/tarfile.py
Lib/test/re_tests.py
Lib/test/test_bytes.py
Lib/test/test_mmap.py
Lib/test/test_re.py
Lib/tokenize.py
Lib/urllib/request.py
Modules/_sre.c
Modules/sre.h
LEFT RIGHT
1 /* 1 /*
2 * Secret Labs' Regular Expression Engine 2 * Secret Labs' Regular Expression Engine
3 * 3 *
4 * regular expression matching engine 4 * regular expression matching engine
5 * 5 *
6 * Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved. 6 * Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved.
7 * 7 *
8 * See the _sre.c file for information on usage and redistribution. 8 * See the _sre.c file for information on usage and redistribution.
9 */ 9 */
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading...
86 SRE_TOLOWER_HOOK lower; 86 SRE_TOLOWER_HOOK lower;
87 } SRE_STATE; 87 } SRE_STATE;
88 88
89 typedef struct { 89 typedef struct {
90 PyObject_HEAD 90 PyObject_HEAD
91 PyObject* pattern; 91 PyObject* pattern;
92 SRE_STATE state; 92 SRE_STATE state;
93 } ScannerObject; 93 } ScannerObject;
94 94
95 #endif 95 #endif
LEFT RIGHT