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