2 * Sherlock Library -- Shell-Like Pattern Matching (currently only '?' and '*')
4 * (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
13 match_pattern(byte *p, byte *s)
25 while (s = strchr(s, z))
27 if (match_pattern(p+1, s))
35 if (*p == '\\' && p[1])