matches

Create a recognizer that recognizes the given regular expression. Use this before isToken to create a matcher that matches against a regular expression.

Parameters

pattern

The regular expression to use in the recognizer