The example for the let-match function (p. 134 of the
scsh manual) is:
(let-match (regexp-search date s)
(whole-date month day year)
... body ...)
and the documentation claims that this "evaluates the
body of the let-match in a scope where whole-date is
bound to the matched string, and month, day and year
are bound to the first, second and third submatches."
However, let-match does not behave like that in 0.5.3:
the first variable is bound to the *match record* (not
the matched string as is claimed), the second to the
whole string and the next ones to the successive
Therefore the documentation or the code should be fixed
so that both agree.
(Notice that if-match transitively suffers from the