import{r,I as s,a as t}from"./p-35c7f358.js";class e extends s{constructor(r,s){super("validatorAlphanumericChar"),this.regexFlags="gm",this.regex=r,this.message=s}}e.id="validatorAlphanumericChar";class a extends t{constructor(r){super(),this.config=r}run(r,s,t,e){return("string"==typeof e||e instanceof String)&&!new RegExp(this.config.regex,this.config.regexFlags).test(e)?{error:(this.config.message||r.strings.interceptors.validatorRegex.message).replace("{title}",t.errorTitle||t.title),value:e}:{value:e}}}r(e.id,(r=>new a(r)));export{e as V}