Next: srfi regexps syntax look, Previous: srfi regexps syntax boundary, Up: srfi regexps syntax [Index]
The following patterns are only supported if the feature ‘regexp-non-greedy’ is provided.
(non-greedy-optional sre ...)(?? sre ...)Non–greedy pattern, matches 0 or 1 times, preferring the shorter match.
(non-greedy-zero-or-more< sre ...)(*? sre ...)Non–greedy Kleene star, matches 0 or more times, preferring the shorter match.
(non-greedy-repeated m n sre ...)(**? m n sre ...)Non–greedy Kleene star, matches m to n times, preferring the shorter match.