ng-pattern with regex having double quotes does not escape correctly

后端 未结 3 1500
后悔当初
后悔当初 2021-01-18 20:36

I have a ng-pattern validation for a regex of ^[^\\./:*\\?\\\"<>\\|]{1}[^\\/:*\\?\\\"<>\\|]{0,254}$ which basically tests the invalid chars in filepath and teh limit.

3条回答
提交回复
热议问题