Code-Samples/javascript/40.6_regexp_code.html test() method returns true or false based on match.