2 * UCW Library -- Generic Shell-Like Pattern Matching (currently only '?' and '*')
4 * (c) 1997 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
11 MATCH_FUNC_NAME(byte *p, byte *s)
23 if (z == '\\' && p[2])
28 while (*s && Convert(*s) != z)
32 if (MATCH_FUNC_NAME(p+1, s))
39 if (*p == '\\' && p[1])
41 if (Convert(*p++) != Convert(*s++))