@hishprorg/numquam-facere-sunt

2.0.15 • 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

369

Version

2.0.15

License

MIT

Unpacked Size

18.1 kB

Total Files

23

Last publish

Collaborators

  • hatrungvk94