diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 22:47:49 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 22:47:49 +0000 |
commit | f2da466f57548dc0ca3a26a6dfec033abae0cc65 (patch) | |
tree | 5e31b52b9522a472cf36a0325ee8556b145097ba /Lib/sre_parse.py | |
parent | 9aa649a8878ee70b96e776eb2c9c3f21a3401b4d (diff) | |
download | cpython-f2da466f57548dc0ca3a26a6dfec033abae0cc65.tar.gz |
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 1eec3d3d19..1c1d0d5d44 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: |