to-regex-range

to-regex-range

micromatch

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.

125 Stars
16 Forks
125 Watchers
JavaScript Language
mit License
Cost to Build
$4.8K
Market Value
$8.2K

Growth over time

6 data points  ·  2021-08-01 → 2023-03-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about to-regex-range

Question copied to clipboard

What is the micromatch/to-regex-range GitHub project? Description: "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.". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone to-regex-range

Clone via HTTPS

git clone https://github.com/micromatch/to-regex-range.git

Clone via SSH

[email protected]:micromatch/to-regex-range.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the to-regex-range issue tracker:

Open GitHub Issues