summaryrefslogtreecommitdiff
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-07-23 21:46:17 +0000
committerFredrik Lundh <fredrik@pythonware.com>2000-07-23 21:46:17 +0000
commit8c1a3565b5b822068a8a65ba96b93775948d684a (patch)
tree5921d7c8abede6d4f151f5131316398e270f9dc5 /Lib/sre_constants.py
parent902e13191466b9df89a630c449b51b05ebcb9f9d (diff)
downloadcpython-8c1a3565b5b822068a8a65ba96b93775948d684a.tar.gz
-- SRE 0.9.6 sync. this includes:
+ added "regs" attribute + fixed "pos" and "endpos" attributes + reset "lastindex" and "lastgroup" in scanner methods + removed (?P#id) syntax; the "lastindex" and "lastgroup" attributes are now always set + removed string module dependencies in sre_parse + better debugging support in sre_parse + various tweaks to build under 1.5.2
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index c2cecdf7ff..ef32c32bc3 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -172,7 +172,7 @@ CH_UNICODE = {
# flags
SRE_FLAG_TEMPLATE = 1 # template mode (disable backtracking)
SRE_FLAG_IGNORECASE = 2 # case insensitive
-SRE_FLAG_LOCALE = 4 # honor system locale
+SRE_FLAG_LOCALE = 4 # honour system locale
SRE_FLAG_MULTILINE = 8 # treat target as multiline string
SRE_FLAG_DOTALL = 16 # treat target as a single string
SRE_FLAG_UNICODE = 32 # use unicode locale