Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→ranges-regex

ranges-regex

This package has been retired and is no longer maintained.

It converted regular expression matches into ranges.

For new code, use JavaScript’s String.prototype.matchAll() with a global regular expression to collect matches and their indexes. Use ranges-merge to combine adjacent or overlapping ranges you build from those matches.

See the published package on npmopens in a new tab for its last published version.

back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab