Install
regex
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
6.1.0Latest, 9 Dec 2025
148MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
635Stars
Source · Homepage · Ask AI Mode · · Markdown
In the news
- The m and s regex flags, explained with one example dev.to, 3 Dec 2026
- Why Git Pre-Commit Regex Fails: Detecting High-Entropy Secrets with Abstract Syntax Tree (AST) Parsing dev.to, 2 Dec 2026
- Why Regex Alone Fails Email Verification (And How to Check MX and Role Accounts in TypeScript) dev.to, 2 Dec 2026
- Use a Regex Tester Before Your Regex Breaks Production dev.to, 1 Dec 2026
- Decode JWTs and test regex offline without pasting secrets into online tools dev.to, 1 Dec 2026
On Hacker News
- The Greatest Regex Trick Ever (2014) 582 points, 191 comments, 8 Jul 2021
- Regex for Noobs – An Illustrated Guide 541 points, 105 comments, 4 Aug 2019
- Show HN: RegEx for Regular Folk – A visual, example-based introduction 502 points, 108 comments, 1 May 2020
- Show HN: Regex Cheatsheet 499 points, 129 comments, 31 Jan 2020
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.