Function regex

Requires a string matching the specified regular expression.