(rontolisp) docs
← Regular expressions

re-find

(re-find m) (re-find pattern s)

Answers the first match: of the matcher m (advancing it, like the oracle), or of pattern in s. Without groups the match string; with groups a vector of the whole plus every group (nil past a group that never matched); no match is nil. Works as a function value too.