@hishprorg/numquam-facere-sunt

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

Dependencies (48)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @hishprorg/numquam-facere-sunt

    Weekly Downloads

    333

    Version

    3.5.38

    License

    MIT

    Unpacked Size

    59.8 kB

    Total Files

    142

    Last publish

    Collaborators

    • hatrungvk94