Compile ES2015 unicode regex to ES5
$ npm install babel-plugin-transform-es2015-unicode-regex
.babelrc
(Recommended).babelrc
{
"plugins": ["transform-es2015-unicode-regex"]
}
$ babel --plugins transform-es2015-unicode-regex script.js
require("babel-core").transform("code", {
plugins: ["transform-es2015-unicode-regex"]
});