summaryrefslogtreecommitdiffstats
path: root/Modules/sre_constants.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-23 20:42:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-23 20:42:43 (GMT)
commit5c24d0e504f9271ee095f706b493566ec0162879 (patch)
treedfd3af4fb8e193f3c0780fab3daef24a4beb182d /Modules/sre_constants.h
parentc1207c1bcf732bc3e9c8875cfb0343af98ebc41c (diff)
downloadcpython-5c24d0e504f9271ee095f706b493566ec0162879.zip
cpython-5c24d0e504f9271ee095f706b493566ec0162879.tar.gz
cpython-5c24d0e504f9271ee095f706b493566ec0162879.tar.bz2
Issue #13592: Improved the repr for regular expression pattern objects.
Based on patch by Hugo Lopes Tavares.
Diffstat (limited to 'Modules/sre_constants.h')
-rw-r--r--Modules/sre_constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/sre_constants.h b/Modules/sre_constants.h
index 13c8958..5940d5a 100644
--- a/Modules/sre_constants.h
+++ b/Modules/sre_constants.h
@@ -81,6 +81,8 @@
#define SRE_FLAG_DOTALL 16
#define SRE_FLAG_UNICODE 32
#define SRE_FLAG_VERBOSE 64
+#define SRE_FLAG_DEBUG 128
+#define SRE_FLAG_ASCII 256
#define SRE_INFO_PREFIX 1
#define SRE_INFO_LITERAL 2
#define SRE_INFO_CHARSET 4