chickadee » posix-regex » regex-match?

regex-match? regex string #!optional notbol noteolprocedure

Check whether the given regex is matched by the given string. If so, #t is returned, otherwise #f is returned. This procedure is essentially a variant of regex-exec which supports strings instead of bytevectors directly and thus doesn't support submatches. Refer to regex-exec for documentation on the optional notbol and noteol procedure parameters.