@devtea2025/facilis-saepe-occaecati-consequuntur
v1.0.0
Published
Downloads
3
Maintainers
Keywords
Readme
@devtea2025/facilis-saepe-occaecati-consequuntur
Which regular expression flags does the current environment support?
Example
var flags = require('@devtea2025/facilis-saepe-occaecati-consequuntur');
var properties = require('@devtea2025/facilis-saepe-occaecati-consequuntur/properties');
flags.forEach((flag) => {
assert.doesNotThrow(() => {
const r = new RegExp('foo', flag);
var propertyName = properties[flag];
assert.equal(r[propertyName], true);
});
});
Tests
Simply clone the repo, npm install
, and run npm test