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
More repos by micromatch
All 5 repos by micromatch- micromatch/micromatchStars: 3,046JavaScriptRC
- micromatch/picomatchStars: 1,312JavaScriptBeta
- micromatch/anymatchStars: 399JavaScriptAlpha
- micromatch/bracesStars: 266JavaScriptAlpha
Nearby in JavaScript
All JavaScript repos- MakkaPakka518/ProxyHub_EmbyStars: 173JavaScriptPrototype
- cpypwn/mac2jbStars: 173JavaScriptPrototype
- Signcluengine/onchain-money-trail-analyzerStars: 173JavaScriptPrototype
- hatena/extract-content-javascriptStars: 173JavaScriptPrototype
- akidee/schema.jsStars: 173JavaScriptPrototype
- webtorrent/node-bencodeStars: 173JavaScriptPrototype