用ng-pattern加入正则表达式,一直报错

Error: [$parse:lexerr] Lexer Error: Unexpected next character  at columns 1-1 [^] in expression [/^(?![A-Z]+$)(?![a-z]+$)(?!\d+$)(?![\W_]+$)\S+$].
http://errors.angularjs.org/1.5.6/$parse/lexerr?p0=Unexpected%20nextharacter%20&p1=s%201-1%20%5B%5E%5D&p2=%2F%5E(%3F!%5BA-Z%5D%2B%24)(%3F!%5Ba-z%5D%2B%24)(%3F!%5Cd%2B%24)(%3F!%5B%5CW_%5D%2B%24)%5CS%2B%24

    at http://localhost:10208/YunADMall/js/angular.js:68:12



类似这样的问题,不知道是怎么回事???

你可能感兴趣的:(用ng-pattern加入正则表达式,一直报错)