isMatch

Return whether input matches the regex.

Return

true: yes

false: no

Parameters

regex

The regex.