tessl install tessl/npm-babel-plugin-transform-es2015-sticky-regex@6.24.0Babel plugin that transforms ES2015 sticky regex literals to ES5-compatible RegExp constructor calls
Agent Success
Agent success rate when using this tile
100%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.03x
Baseline
Agent success rate without this tile
97%
Generated
Agent Codex
Scenario 1
Scope limited to regex literals; RegExp constructor calls remain unchanged
Scenario 2
Emit pattern and flags as string literals to avoid raw pattern mutation
Scenario 3
Rewrite sticky regex literals to RegExp constructor preserving pattern and flags
Scenario 4
Enable via Babel config entry transform-sticky-regex with @babel/core peer requirement
Scenario 5
Babel plugin factory with Babel 7 version assertion
Scenario 6
Skip transformation for non-sticky regex literals