diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 22:47:49 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 22:47:49 (GMT) |
commit | e186983842f0b27606b141010513fa8e3d0cc5db (patch) | |
tree | 8160cdbd00dc449a79a25cfaa6a16069b4bd74b3 /Lib/sre_parse.py | |
parent | fb06539e999271ea9b07b754d461f2172d65978b (diff) | |
download | cpython-e186983842f0b27606b141010513fa8e3d0cc5db.zip cpython-e186983842f0b27606b141010513fa8e3d0cc5db.tar.gz cpython-e186983842f0b27606b141010513fa8e3d0cc5db.tar.bz2 |
final 0.9.8 updates:
-- added REPEAT_ONE operator
-- added ANY_ALL operator (used to represent "(?s).")
Diffstat (limited to 'Lib/sre_parse.py')
-rw-r--r-- | Lib/sre_parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py index 1eec3d3..1c1d0d5 100644 --- a/Lib/sre_parse.py +++ b/Lib/sre_parse.py @@ -142,7 +142,7 @@ class SubPattern: for av in av[1]: l, h = av.getwidth() i = min(i, l) - j = min(j, h) + j = max(j, h) lo = lo + i hi = hi + j elif op is CALL: |