Regexp, error handling.