summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/regex_sy.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-26 15:44:34 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-26 15:44:34 (GMT)
commit0b23348aa944dcb97c84b34d399c857f039e5773 (patch)
tree88178b09c8a16b93ab1ab174df968a61d36e7293 /Lib/dos-8x3/regex_sy.py
parent330c660f66243094e082500bc1d760b2b86024cb (diff)
downloadcpython-0b23348aa944dcb97c84b34d399c857f039e5773.zip
cpython-0b23348aa944dcb97c84b34d399c857f039e5773.tar.gz
cpython-0b23348aa944dcb97c84b34d399c857f039e5773.tar.bz2
The usual
Diffstat (limited to 'Lib/dos-8x3/regex_sy.py')
-rwxr-xr-xLib/dos-8x3/regex_sy.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/dos-8x3/regex_sy.py b/Lib/dos-8x3/regex_sy.py
index bb80f4e..8631f42 100755
--- a/Lib/dos-8x3/regex_sy.py
+++ b/Lib/dos-8x3/regex_sy.py
@@ -32,6 +32,12 @@ RE_NEWLINE_OR = 16
# *, +, ? - only special when not after the beginning, (, or |
RE_CONTEXT_INDEP_OPS = 32
+# ANSI sequences (\n etc) and \xhh
+RE_ANSI_HEX = 64
+
+# No GNU extensions
+RE_NO_GNU_EXTENSIONS = 128
+
# Now define combinations of bits for the standard possibilities.
RE_SYNTAX_AWK = (RE_NO_BK_PARENS | RE_NO_BK_VBAR | RE_CONTEXT_INDEP_OPS)
RE_SYNTAX_EGREP = (RE_SYNTAX_AWK | RE_NEWLINE_OR)