rxmatch-if

[syntax] rxmatch-if match-expr (var ...) then-form else-form

Gauche: evaluates match-expr that should return a <regmatch>? object or #f. If it is a match object, binds matched substrings to var ..., and evaluates then-form. Otherwise, evaluates else-form.

See also Concept:RegularExpression, rxmatch-let, rxmatch-cond, rxmatch-case.

Scsh calls this if-match?.