D Documentation  
fnmatch
int fnmatch(char[] name, char[] pattern)

Match filename strings with pattern[, using the following wildcards:
* match 0 or more characters
? match any character
[chars] match any character that appears between the []
[!chars] match any character that does not appear between the [! ]

Returns 0 if no match was found, otherwise the result is not 0.

Note: Matching is case sensitive on a file system that is case sensitive.

See also:
fncharmatch
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.