mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
636cc94105
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.