summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorptmcg <ptmcg@austin.rr.com>2023-04-10 08:46:51 -0500
committerptmcg <ptmcg@austin.rr.com>2023-04-10 08:46:51 -0500
commit6f6e1db97662b66c1670e53e69e2f488cd299607 (patch)
tree87a8958fbba82f7547f419266d9ce1545cd42db4
parent4054216260f8f0c03b334b6d381be30a6f77cf6e (diff)
downloadpyparsing-git-6f6e1db97662b66c1670e53e69e2f488cd299607.tar.gz
Better form for slice notation with ZeroOrMore
-rw-r--r--CHANGES2
1 files changed, 1 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 342e848..3f46af4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -133,7 +133,7 @@ Version 3.1.0a1 - March, 2023
BEGIN, END = Keyword.using_each("BEGIN END".split())
body_word = Word(alphas)
- expr = BEGIN + Group(body_word[:END]) + END
+ expr = BEGIN + Group(body_word[...:END]) + END
# equivalent to
# expr = BEGIN + Group(ZeroOrMore(body_word, stop_on=END)) + END