chickadee » irregex » irregex-match

(irregex-match <irx> <str> [<start> <end>])procedure

Like irregex-search, but performs an anchored match against the beginning and end of the substring specified by <start> and <end>, without searching.

Examples:

(irregex-match '(w/nocase "foobar") "abcFOOBARdef") => #f

(irregex-match '(w/nocase "foobar") "FOOBAR") => #<match>