HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
micromatch
to-regex-range
JavaScript2024–2024
micromatch / to-regex-range

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.

2Distinct people
2Mentions
0Explicit recommenders
173GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval2 dated mentions

Observed mentions: 2024-07-30 16:13:12 UTC to 2024-08-02 13:21:11 UTC.

012024-07-30 15:00:00 UTC to 2024-07-30 18:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJul 30, 15:002024-07-30 18:00:00 UTC to 2024-07-30 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-30 21:00:00 UTC to 2024-07-31 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 00:00:00 UTC to 2024-07-31 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 03:00:00 UTC to 2024-07-31 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 06:00:00 UTC to 2024-07-31 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 09:00:00 UTC to 2024-07-31 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 12:00:00 UTC to 2024-07-31 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 15:00:00 UTC to 2024-07-31 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 18:00:00 UTC to 2024-07-31 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-31 21:00:00 UTC to 2024-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 00:00:00 UTC to 2024-08-01 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsAug 1, 00:002024-08-01 03:00:00 UTC to 2024-08-01 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 06:00:00 UTC to 2024-08-01 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 09:00:00 UTC to 2024-08-01 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 12:00:00 UTC to 2024-08-01 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 15:00:00 UTC to 2024-08-01 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 18:00:00 UTC to 2024-08-01 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 21:00:00 UTC to 2024-08-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-02 00:00:00 UTC to 2024-08-02 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-02 03:00:00 UTC to 2024-08-02 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-02 06:00:00 UTC to 2024-08-02 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-02 09:00:00 UTC to 2024-08-02 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-02 12:00:00 UTC to 2024-08-02 15:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsAug 2, 12:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 30, 15:002024-07-30 15:00:00 UTC2024-07-30 18:00:00 UTC110
Jul 30, 18:002024-07-30 18:00:00 UTC2024-07-30 21:00:00 UTC000
Jul 30, 21:002024-07-30 21:00:00 UTC2024-07-31 00:00:00 UTC000
Jul 31, 00:002024-07-31 00:00:00 UTC2024-07-31 03:00:00 UTC000
Jul 31, 03:002024-07-31 03:00:00 UTC2024-07-31 06:00:00 UTC000
Jul 31, 06:002024-07-31 06:00:00 UTC2024-07-31 09:00:00 UTC000
Jul 31, 09:002024-07-31 09:00:00 UTC2024-07-31 12:00:00 UTC000
Jul 31, 12:002024-07-31 12:00:00 UTC2024-07-31 15:00:00 UTC000
Jul 31, 15:002024-07-31 15:00:00 UTC2024-07-31 18:00:00 UTC000
Jul 31, 18:002024-07-31 18:00:00 UTC2024-07-31 21:00:00 UTC000
Jul 31, 21:002024-07-31 21:00:00 UTC2024-08-01 00:00:00 UTC000
Aug 1, 00:002024-08-01 00:00:00 UTC2024-08-01 03:00:00 UTC000
Aug 1, 03:002024-08-01 03:00:00 UTC2024-08-01 06:00:00 UTC000
Aug 1, 06:002024-08-01 06:00:00 UTC2024-08-01 09:00:00 UTC000
Aug 1, 09:002024-08-01 09:00:00 UTC2024-08-01 12:00:00 UTC000
Aug 1, 12:002024-08-01 12:00:00 UTC2024-08-01 15:00:00 UTC000
Aug 1, 15:002024-08-01 15:00:00 UTC2024-08-01 18:00:00 UTC000
Aug 1, 18:002024-08-01 18:00:00 UTC2024-08-01 21:00:00 UTC000
Aug 1, 21:002024-08-01 21:00:00 UTC2024-08-02 00:00:00 UTC000
Aug 2, 00:002024-08-02 00:00:00 UTC2024-08-02 03:00:00 UTC000
Aug 2, 03:002024-08-02 03:00:00 UTC2024-08-02 06:00:00 UTC000
Aug 2, 06:002024-08-02 06:00:00 UTC2024-08-02 09:00:00 UTC000
Aug 2, 09:002024-08-02 09:00:00 UTC2024-08-02 12:00:00 UTC000
Aug 2, 12:002024-08-02 12:00:00 UTC2024-08-02 15:00:00 UTC110

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.