test(str)
| match(regex) to return multiple occurrences with a single function execution. |
Execute the search for a regular expression match in a string. Return true if the match is found, false otherwise. This function is an implementation of the standard JavaScript RegExp test() method.