Last Modified
2014-06-07 04:05:53 +0000
Requires

Description

Matches a parslet repeatedly.

Example:

str('a').repeat(1,3)  # matches 'a' at least once, but at most three times
str('a').maybe        # matches 'a' if it is present in the input (repeat(0,1))