summaryrefslogtreecommitdiffstats
path: root/Modules/regexpr.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-13 03:21:14 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-13 03:21:14 (GMT)
commit52d6832554d7bd4ba4f24b8b50431ea3da70708c (patch)
tree301b8cf14258290f281c37cd8051da2411b93e67 /Modules/regexpr.h
parent142eeb8339e4f3bcf40765377a1856bcc9a5ea66 (diff)
downloadcpython-52d6832554d7bd4ba4f24b8b50431ea3da70708c.zip
cpython-52d6832554d7bd4ba4f24b8b50431ea3da70708c.tar.gz
cpython-52d6832554d7bd4ba4f24b8b50431ea3da70708c.tar.bz2
Add syntax for hex,octal
Diffstat (limited to 'Modules/regexpr.h')
-rw-r--r--Modules/regexpr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/regexpr.h b/Modules/regexpr.h
index 91f00b9..9ac2ab9 100644
--- a/Modules/regexpr.h
+++ b/Modules/regexpr.h
@@ -70,6 +70,8 @@ typedef struct re_registers
#define Sword 1
#define Swhitespace 2
#define Sdigit 4
+#define Soctaldigit 8
+#define Shexdigit 16
/* Rename all exported symbols to avoid conflicts with similarly named
symbols in some systems' standard C libraries... */