else if (!PL_strcmp(matchMethod, "isnot"))
else if (matchMethod.Equals(NS_LITERAL_STRING("isnot")))
LocalSearchDataSource::doMatch(nsIRDFLiteral *literal, char *matchMethod, char *matchText){	PRBool		found = PR_FALSE;	if ((nsnull == literal) || (nsnull == matchMethod) || (nsnull == matchText))		return(found);        nsXPIDLString	str;	literal->GetValue( getter_Copies(str) );	if (! str)	return(found);	nsAutoString	value(str);	if (!PL_strcmp(matchMethod, "contains"))	{		if (value.Find(matchText, PR_TRUE) >= 0)			found = PR_TRUE;	}	else if (!PL_strcmp(matchMethod, "startswith"))	{		if (value.Find(matchText, PR_TRUE) == 0)			found = PR_TRUE;	}	else if (!PL_strcmp(matchMethod, "endswith"))	{		PRInt32 pos = value.RFind(matchText, PR_TRUE);		if ((pos >= 0) && (pos == (value.Length() - PRInt32(strlen(matchText)))))			found = PR_TRUE;	}	else if (!PL_strcmp(matchMethod, "is"))	{		if (value.EqualsIgnoreCase(matchText))			found = PR_TRUE;	}	else if (!PL_strcmp(matchMethod, "isnot"))	{		if (!value.EqualsIgnoreCase(matchText))			found = PR_TRUE;	}	else if (!PL_strcmp(matchMethod, "doesntcontain"))	{		if (value.Find(matchText, PR_TRUE) < 0)			found = PR_TRUE;	}	return(found);}