甚至认为“错误:[$ parse:lexerr] Lexer错误:”

时间:2018-07-10 07:33:17

标签: html angularjs

即使正则表达式正在正常工作,我仍收到以下错误。有什么想法吗?

错误:[$ parse:lexerr]词法错误:表达式中位于0-0列[^]的下一个字符意外:

  

^([a-zA-Z0-9。!#$%&'* +-/ =?^ _ {|}~]+@[a-zA-Z0-9-]+\.[a-zA-Z\.]{2,},\s+)*([a-zA-Z0-9.!#$%&'*+-/=?^_ {|}〜] + @ [a-zA-Z0-9-] +。[a-zA-Z。] {2,})$

at angular.js:125
at Lexer.throwError (angular.js:15140)
at Lexer.lex (angular.js:15063)
at AST.ast (angular.js:15264)
at Parser.getAst (angular.js:16628)
at Parser.parse (angular.js:16611)
at $parse (angular.js:16769)
at ChildScope.$watch (angular.js:18086)
at Object.link (angular.js:23562)
at angular.js:1393 "<input ng-attr-id="{{setting.name}}" uib-popover="{{setting.tooltip}}" popover-trigger="'mouseenter'" class="padded  form-control ng-pristine ng-untouched ng-valid" type="{{setting.type}}" placeholder="{{setting.placeholder}}" ng-model="subscription.properties[setting.name]" ng-pattern="{{setting.pattern}}">"

0 个答案:

没有答案