swc_ecma_transforms_compat::es2015
pub fn sticky_regex() -> impl 'static + Fold
Compile ES2015 sticky regex to an ES5 RegExp constructor
/o+/y;
new RegExp("o+", "y")