Files
angular/packages/compiler
Yarchik 00229e112d fix(compiler): skip escaped characters when looking for comments in expressions
The expression parser drops everything after the first `//` outside of quotes,
but it did not account for escaped characters. A regular expression ending with
an escaped slash, such as `url.replace(/^https?:\/\//, '')`, was cut off and
reported as an unterminated regular expression, and a string with an escaped
quote followed by `//`, such as `'it\'s // here'`, was cut off as well.

(cherry picked from commit 5244ea781d)
2026-10-25 07:38:45 -07:00
..
2025-12-16 14:44:19 -08:00
…