OneOrMoreElement

Creates a repeatable PatternElement that matches 1 or more times.

This is a convenience function equivalent to RepeatableElement(element, min = 1).

Return

A RepeatableElement configured for one-or-more matching

Parameters

element

The PatternElement to repeat