- (regex-case EXPRESSION CLAUSE ...)syntax
Evaluates EXPRESSION and executes the body of the first CLAUSE that matches. Each CLAUSE should be of the form:
(REGEX LAMBDA-LIST BODY ...)
The variables in LAMBDA-LIST are bound to the results of evaluating the expression
(string-match REGEX STRING)
The last CLAUSE may also be
(else BODY ...)
If no CLAUSE matches, the form returns an undefined result.