Rifa Fatima
Rifa Fatima

Reputation: 17

Does parsley support data-parsley-pattern="/^[\p ... " in unicode property escapes?

I am using data-parsley-pattern="/^[\p{L} . .." like this. this only a sample example, but parsley is not validating this as success, it works only with regex that is like this /^[^\d_!¡?÷?¿/\+=@#$%ˆ&*(){}|~<>;:[]]+$/ . Can anyone tell why is this and how to support unicode in Parsleyjs?

I am using data-parsley-pattern="/^[\p{L} . .." like this. this only a sample example, but parsley is not validating this as success.

Upvotes: 0

Views: 26

Answers (0)

Related Questions