slevithan/regex
View on GitHub ↗ ★ 635 JavaScript
JS regexes ➕ future. A template tag for readable, high-performance, native JS regexes with extended syntax, context-aware interpolation, and always-on best practices.
3 mentions on Hacker News by 3 people: 2 stories, 1 comment · first 2024-06-20 · latest 2025-08-27
20082026
-
FWIW there's also https://github.com/slevithan/regex "JS regexes future. A template tag for readable, high-performance, native JS regexes with extended syntax, context-aware interpolation, and always-on best practices". From the docs:…
comment by DemocracyFTW2 · 2025-08-27 · in Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript -
▲ 2
Context-aware JavaScript regex template tag with advanced featuresstory by aragonite · 2024-07-04 · 1 comment
-
▲ 2
Show HN: I made native JavaScript regexes competitive with the best re flavorsstory by slev · 2024-06-20 · 0 comments