Compiles the specified regex for use in the match() method. Cleans up a previously compiled regex, if this instance has been used before.
pattern to search for, as a string
case sensitive matching
if the compilation of the regex fails
Out: following a call to this method, the compiled regex exists
See Implementation
Compiles the specified regex for use in the match() method. Cleans up a previously compiled regex, if this instance has been used before.