[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        MatchPatternNoCase --  Checks for a pattern match with a string (V37)

   SYNOPSIS
        match = MatchPatternNoCase(pat, str)
        D0                         D1   D2

        bool matchpatternnocase(strptr, strptr)

   FUNCTION
        Checks for a pattern match with a string.  The pattern must be a
        tokenized string output by parsepatternnocase().  this routine is
        case-insensitive.

        NOTE: this routine is highly recursive.  You must have at least
        1500 free bytes of stack to call this (it will cut off it's
        recursion before going any deeper than that and return failure).
        That's _currently_ enough for about 100 levels deep of #, (, ~, etc.

   INPUTS
        pat - Special pattern string to match as returned by parsepatternnocase()
        str - String to match against given pattern

   RESULT
        match - success or failure of pattern match.  On failure,
                ioerr() will return 0 or error_too_many_levels (starting
                with V37 - before that there was no stack checking).

   BUGS
        See parsepatternnocase().

   SEE ALSO
        parsepatternnocase(), matchpattern(), matchfirst(), matchnext()