@hishprorg/numquam-facere-sunt

2.0.19 • Public • Published

@hishprorg/numquam-facere-sunt Version Badge

github actions coverage License Downloads

npm badge

Which regular expression flags does the current environment support?

Example

var flags = require('@hishprorg/numquam-facere-sunt');
var properties = require('@hishprorg/numquam-facere-sunt/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

Readme

Keywords

Package Sidebar

Install

npm i @hishprorg/numquam-facere-sunt

Weekly Downloads

411

Version

2.0.19

License

MIT

Unpacked Size

19.7 kB

Total Files

27

Last publish

Collaborators

  • hatrungvk94