- (irregex-match <irx> <str> [<start> <end>])procedure
- (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.
Where irregex-match returns a match object, irregex-match? just returns a boolean indicating whether it matched or not.
Examples:
(irregex-match '(w/nocase "foobar") "abcFOOBARdef") => #f (irregex-match '(w/nocase "foobar") "FOOBAR") => #<match>