Skip to content

Commit 7c2f087

Browse files
committed
re-pcre: Add dummy ASCII and UNICODE flags.
1 parent e9b736e commit 7c2f087

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

re-pcre/re.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
VERBOSE = X = 8
2626
PCRE_ANCHORED = 0x10
2727

28+
# TODO. Note that Python3 has unicode by default
29+
ASCII = A = 0
30+
UNICODE = U = 0
31+
2832
PCRE_INFO_CAPTURECOUNT = 2
2933

3034

0 commit comments

Comments
 (0)