@babel/plugin-transform-dotall-regex
Example
In
/./s
Out
/[\0-\uFFFF]/
In
/./su
Out
/[\0-\u{10FFFF}]/u
Installation
npm install --save-dev @babel/plugin-transform-dotall-regex
Usage
Via .babelrc (recommended)
.babelrc
{"plugins": ["@babel/plugin-transform-dotall-regex"]}
Via CLI
$ babel --plugins @babel/plugin-transform-dotall-regex script.js
Via Node.js API
require('@babel/core').transform(code, {'plugins': ['@babel/plugin-transform-dotall-regex']});
Author
![]() |
|---|
| Mathias Bynens |
