import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
import { createValidator } from './createValidator';
export var Validators = function Validators() {
  _classCallCheck(this, Validators);
};
Validators.regExpEmail = /^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i;
Validators.regExpText = /^[a-zA-Z\s]*$/i;
Validators.email = createValidator(Validators.regExpEmail);
Validators.text = createValidator(Validators.regExpText);