fnmatch

  1. fnmatch
  2. Example use
  3. API
    1. fnmatch
      1. Keyword arguments:

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: