regexp-match[procedure] regexp-match pattern str
[procedure] regexp-match-positions pattern str
STklos: match regexp pattern to string str.
regexp-match returns a list of matched (sub)strings,
and regexp-match-positions returns a list of lists of start and
end positions. See string->regexp, Concept:RegularExpression.
This feature is called rxmatch, string-match, etc. in other
implementations.
|