Use the proper function name to validate regular expressions.