Closed artuska closed 9 months ago
@artuska ,
Can you elaborate a bit.
It is not quiet clear what you mean.
Nevermind, I know what you mean.
I will see how to fix this.
@artuska ,
The issue is fixed but I need to push a new build. Will do that soon.
Have a try with the latest beta version on npm 5.0.9-beta.33
Unicode categories with the slash sign converts to the double slash and
regexp
become corrupred after thecreateMask
function.So, if i pass
regex: '[\p{P}\p{S}]*'
to thecreateMask
function and thenconsole.log
function result i gotregex: "[\\p{P}\\p{S}]*"
And now i'm able to enter in the
inputmask
input onlyp
,P
andS
characters.