Install
regex
Alternative regular expression module, to replace re.
2026.12.2Latest, 2 Dec 2026
421MDownloads, last month
0Advisories on the latest
0Advisories, all versions
Apache-2.0 AND CNRI-P...Licence
611Stars
4.9/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Turning Spoken Commands into Safe Actions: Regex First, the Language Model Second dev.to, 2 Dec 2026
- Why Git Pre-Commit Regex Fails: Detecting High-Entropy Secrets with Abstract Syntax Tree (AST) Parsing dev.to, 2 Dec 2026
- Decode JWTs and test regex offline without pasting secrets into online tools dev.to, 1 Dec 2026
- JavaScript regex \b never matches in a generated file? It may be a backspace dev.to, 29 Nov 2026
- Why Regex Fails to Catch Agent Secrets: AST Token Entropy vs Pattern Matching dev.to, 29 Nov 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: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.