summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 11:06:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 11:06:55 (GMT)
commit66dc4648fcca725bc48b0c8d7030c107dfeda709 (patch)
tree188c8a43a54c79340c11cc27997cb4e189eb6922 /Modules/_sre.c
parent6ee588f14e23206db3c927653956fd35f6ca857a (diff)
downloadcpython-66dc4648fcca725bc48b0c8d7030c107dfeda709.zip
cpython-66dc4648fcca725bc48b0c8d7030c107dfeda709.tar.gz
cpython-66dc4648fcca725bc48b0c8d7030c107dfeda709.tar.bz2
Issue #24426: Fast searching optimization in regular expressions now works
for patterns that starts with capturing groups. Fast searching optimization now can't be disabled at compile time.
Diffstat (limited to 'Modules/_sre.c')
-rw-r--r--Modules/_sre.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 4016a45..1d90281 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -62,9 +62,6 @@ static char copyright[] =
/* -------------------------------------------------------------------- */
/* optional features */
-/* enables fast searching */
-#define USE_FAST_SEARCH
-
/* enables copy/deepcopy handling (work in progress) */
#undef USE_BUILTIN_COPY