Skip to content

Does the JS environment support named capture groups in regexes?

License

Notifications You must be signed in to change notification settings

inspect-js/has-named-captures

Repository files navigation

has-named-captures 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('has-named-captures');
var assert = require('assert');

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

Tests

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

About

Does the JS environment support named capture groups in regexes?

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy