You are looking at historical revision 31156 of this page. It may differ significantly from its current revision.

fnmatch

CHICKEN Scheme bindings for fnmatch(3). Provides glob-like pattern matching for filenames using shell wildcard patterns.

Example use

    
(fnmatch "dir/*.scm" "dir/foo.scm") ;; => #t
(fnmatch "dir/*.scm" "dir/foo.txt") ;; => #f

API

fnmatch

  
(fnmatch path pattern #!key (escape #t) (pathname #t) (period #f))

Tests a pathname against a pattern, returning #t for a match or #f for no match.

Keyword arguments: