n_times(x, n, type = c("greedy", "lazy", "possessive"))between(x, low, high, type = c("greedy", "lazy", "possessive"))
at_least(x, n, type = c("greedy", "lazy", "possessive"))
at_most(x, n, type = c("greedy", "lazy", "possessive"))
There are three match types
greedy: match the longest string. This is the default matching type.lazy: match the shortest string. This matches the shortest string from the same ancn_times:xmust occur exactlyntimes.between:xmust occur betweenlowandhightimes.at_least:xmust occur at leastntimes.at_most:xmust occur at mostntimes.., capture,
capture_group;
%if_next_is%,
%if_next_isnt%,
%if_prev_is%,
%if_prev_isnt%,
lookarounds; %or%,
or; any_of,
character_class, except,
except_any_of,
except_some_of,
exclude_range, none_of,
one_of, range,
some_of; group;
maybe, one_or_more,
wildcards, zero_or_more,
zero_or_one; not;
rex, rex_;
shortcuts