Match a token at most the specified amount of times.
atMost(3)`foo`atMost(3).exactly`foo`atMost(3)('foo') Copy
atMost(3)`foo`atMost(3).exactly`foo`atMost(3)('foo')
RegExp equivalent:
/(?:foo){0,3}/ Copy
/(?:foo){0,3}/
Lazy matching
atMostLazily(3)`foo`atMost.lazily(3)`foo` Copy
atMostLazily(3)`foo`atMost.lazily(3)`foo`
/(?:foo){0,3}?/ Copy
/(?:foo){0,3}?/
Generated using TypeDoc
Match a token at most the specified amount of times.