summaryrefslogtreecommitdiff
path: root/docs/HowToUsePyparsing.rst
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2019-07-24 05:43:19 -0500
committerPaul McGuire <ptmcg@austin.rr.com>2019-07-24 05:43:19 -0500
commit1c1405dbf2fa12952057f45b508ee63793ae9133 (patch)
treee88c071d42f4d28ad75eddc6c3b4161ce7d83794 /docs/HowToUsePyparsing.rst
parent7eb54f04f9bbf98157ed126f4f5bb3d87efa7cea (diff)
downloadpyparsing-git-1c1405dbf2fa12952057f45b508ee63793ae9133.tar.gz
Add unit test for #103; also make CHANGES blurb and HowToUse notes a little clearerpyparsing_2.4.2a1pyparsing_2.4.1.1
Diffstat (limited to 'docs/HowToUsePyparsing.rst')
-rw-r--r--docs/HowToUsePyparsing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/HowToUsePyparsing.rst b/docs/HowToUsePyparsing.rst
index 3e9e1f8..7d4c061 100644
--- a/docs/HowToUsePyparsing.rst
+++ b/docs/HowToUsePyparsing.rst
@@ -148,9 +148,9 @@ Usage notes
- ``expr[... ,n]`` is equivalent to ``expr*(0, n)``
(read as "0 to n instances of expr")
- - ``expr[...]`` is equivalent to ``ZeroOrMore(expr)``
+ - ``expr[...]`` and ``expr[0, ...]`` are equivalent to ``ZeroOrMore(expr)``
- - ``expr[0, ...]`` is equivalent to ``ZeroOrMore(expr)``
+ - ``expr[1, ...]`` is equivalent to ``OneOrMore(expr)``
Note that ``expr[..., n]`` does not raise an exception if
more than n exprs exist in the input stream; that is,