RobinHerbots/Inputmask

Error mask definition

Open

#1,873 opened on Apr 27, 2018

View on GitHub
 (10 comments) (3 reactions) (0 assignees)JavaScript (1,807 forks)batch import
Enhancement / FeatureMainRegexhelp wanted

Repository metrics

Stars
 (4,999 stars)
PR merge metrics
 (No merged PRs in 30d)

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. =)

Contributor guide