Meta Interview Question

Check whether a regular expression matches a string.