keep = false ;
foreach wildcard
{
   if ( isWildCardNegative() )
      {
      if ( keep && matchesIgnoringCase() ) keep = false;
      }
   else
      {
      if ( ! keep && matchesIgnoringCase() ) keep = true;
      }
}

return keep;