You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The lexer seems to fail at the regex literal /\\/.
The error message:
Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 6-6 [\] in expression [{'': /\\/}].
The raw error dump from Chrome's dev tools:
Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 6-6 [\] in expression [{'': /\\/}].
http://errors.angularjs.org/1.3.2/$parse/lexerr?p0=Unexpected%20nextharacter%20&p1=s%206-6%20%5B%5C%5D&p2=%7B''%3A%20%2F%5C%5C%2F%7D
at REGEX_STRING_REGEXP (https://code.angularjs.org/1.3.2/angular.js:80:12)
at Lexer.throwError (https://code.angularjs.org/1.3.2/angular.js:11626:11)
at Lexer.lex (https://code.angularjs.org/1.3.2/angular.js:11585:16)
at Parser.parse (https://code.angularjs.org/1.3.2/angular.js:11798:30)
at $parse (https://code.angularjs.org/1.3.2/angular.js:12481:39)
at Scope.$get.Scope.$watch (https://code.angularjs.org/1.3.2/angular.js:13631:19)
at https://code.angularjs.org/1.3.2/angular.js:24623:9
at invokeLinkFn (https://code.angularjs.org/1.3.2/angular.js:8125:9)
at nodeLinkFn (https://code.angularjs.org/1.3.2/angular.js:7637:11)
at compositeLinkFn (https://code.angularjs.org/1.3.2/angular.js:6993:13)
Note: The bug can be easily circumvented by placing the regex literal into a controller method or the like.