Package Exports
- is-supported-regexp-flag
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-supported-regexp-flag) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-supported-regexp-flag 
Check whether a RegExp flag is supported. Mostly useful for
yandu.
Install
$ npm install --save is-supported-regexp-flagUsage
var isSupportedRegexpFlag = require('is-supported-regexp-flag');
isSupportedRegexpFlag('g'); // as in /foo/g
//=> true
isSupportedRegexpFlag('u');
//=> falseRegExp throws if you're trying to use unsupported flags. This is a nicer way to check for support.
License
MIT © Sindre Sorhus