Match a token at most the specified amount of times, trying to match as short as possible.
atMostLazily is a short form of atMost.lazily. See the documentation of atMost for more details.
atMostLazily
atMost.lazily
atMostLazily(3)`foo`atMost.lazily(3)`foo` Copy
atMostLazily(3)`foo`atMost.lazily(3)`foo`
RegExp equivalent:
/(?:foo){0,3}?/ Copy
/(?:foo){0,3}?/
Generated using TypeDoc
Match a token at most the specified amount of times, trying to match as short as possible.
atMostLazily
is a short form ofatMost.lazily
. See the documentation of atMost for more details.