parsita/parsers.py
def rep(parser: Union[Parser, Sequence[Input]]) -> RepeatedParser:
    """Match a parser zero or more times repeatedly.

    This matches ``parser`` multiple times in a row. A list is returned
    containing the value from each match. If there are no matches, an empty list
    is returned.

    Args:
        parser: Parser or literal
    """
    if isinstance(parser, str):
        parser = lit(parser)
    return RepeatedParser(parser)
def rep(parser: Union[Parser, Sequence[Input]]) -> RepeatedParser:
    if isinstance(parser, str):
        parser = lit(parser)
    return RepeatedParser(parser)
def rep ( parser : Union [ Parser , Sequence [ Input ] ] ) -> RepeatedParser : if isinstance ( parser , str ) : parser = lit ( parser ) return RepeatedParser ( parser )
Match a parser zero or more times repeatedly.

    This matches ``parser`` multiple times in a row. A list is returned
    containing the value from each match. If there are no matches, an empty list
    is returned.

    Args:
        parser: Parser or literal
Match a parser zero or more times repeatedly .