the text contains the token $x (not ignoring case) containsJavaToken(the_text, $x) the text contains the token $x (ignoring case) containsJavaTokenIC(the_text, $x)