RobinHerbots/Inputmask

Error mask definition

Aberta

#1.873 aberto em 27 de abr. de 2018

 (10 comentários) (3 reações) (0 responsável)JavaScript (1.807 forks)batch import
Enhancement / FeatureMainRegexhelp wanted

Métricas do repositório

Stars
 (4.999 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Im try to apply regex on input field for validating a user inputs; However, I get this error:

inputmask.js:1055 Uncaught Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. (?!^[-])(?!.?[-]{2,})(?!^[^-][-])(?![^-]?-[^-]-[^-]*?)(?![-][^-]$)[а-яА-ЯёЁ-]{0,99}

I will be appreciated, if you'd help with this problem as soon as possible. =)

Guia do colaborador