Illustration drawn by RepoMasters from the repo’s ID and its language color. Credits
PrototypeCommon

micromatch/to-regex-range

Pass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimized regex, and validated against more than 2.78 million test assertions. Useful for creating regular expressions to validate numbers, ranges, years, etc.

Owner
micromatch (organization)
Stars
Stars: 173
Forks
Forks: 25
Language
JavaScript
License
MIT
Created
2015
Topics
regexregex-rangerepeatpaddingrangematchregular-expressionrange-expansionexpandnumbers
Tier
Prototype (100 to 249 ★) What this tier means
View on GitHub

More repos by micromatch

All 5 repos by micromatch

Nearby in JavaScript

All JavaScript repos