From 7c2f087208d5de24703471a7dec13458b3979c65 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 13 Apr 2014 03:34:16 +0300 Subject: [PATCH] re-pcre: Add dummy ASCII and UNICODE flags. --- re-pcre/re.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/re-pcre/re.py b/re-pcre/re.py index f599f47b..d4dd6d2f 100644 --- a/re-pcre/re.py +++ b/re-pcre/re.py @@ -25,6 +25,10 @@ DOTALL = S = 4 VERBOSE = X = 8 PCRE_ANCHORED = 0x10 +# TODO. Note that Python3 has unicode by default +ASCII = A = 0 +UNICODE = U = 0 + PCRE_INFO_CAPTURECOUNT = 2