Skip to content

taktikorg/quos-debitis-ut

Repository files navigation

@taktikorg/quos-debitis-ut Version Badge

github actions coverage License Downloads

npm badge

Does the JS environment support named capture groups in regexes?

Returns true in node 10+, and equivalent engines.

Example

var hasNamedCaptures = require('@taktikorg/quos-debitis-ut');
var assert = require('assert');

assert.equal(typeof hasNamedCaptures(), 'boolean', 'returns true or false');

Tests

Simply clone the repo, npm install, and run npm test