mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a56f1cdf8f
Currently we only skip regex optimization if it has the `g` flag, however regexes can also have a state with the `y` flag.
These changes move to an allowlist model where we only optimize for a set of know flags.
(cherry picked from commit 636cc94105)