mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
When the `runtime` flag is on (by default), this plugin adds a new helper which wraps the native `RegExp` class to provide groups support. People nees to use a polyfill (I implemented it in core-js) for browsers that don't support ES6 regexps.
2 lines
8 B
JavaScript
2 lines
8 B
JavaScript
/()\1/;
|