SEARCH_STRINGMASK
if ((flags & SEARCH_STRINGMASK) == SEARCH_REGEX)
ma->flags = (flags & ~SEARCH_STRINGMASK) | SEARCH_ERROR;
if ((flags & SEARCH_STRINGMASK) == SEARCH_STRING || (flags & SEARCH_STRINGMASK) == SEARCH_STRINGEND)
else if ((flags & SEARCH_STRINGMASK) == SEARCH_GLOB)
if ((ma->flags & SEARCH_STRINGMASK) == SEARCH_REGEX && ma->matchdata)
switch ((ma->flags & SEARCH_STRINGMASK))
switch (ma->flags & SEARCH_STRINGMASK)
|| ((di->matcher.flags & (SEARCH_STRINGMASK|SEARCH_NOCASE)) != SEARCH_STRING
&& (di->matcher.flags & (SEARCH_STRINGMASK|SEARCH_NOCASE)) != SEARCH_GLOB)