Verifies that the current string matches the specified regex.
Returns true if the receiver is non-null and matches the given regex. Returns false otherwise.
true
false
check("Bob Lizard" matches ".*L.*")