RegExpValidator(String key, String expression) : super(key, "$key is not valid.") { _regex = new RegExp(expression); }