InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Regex Open-Source Projects
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Project mention: Stop struggling with Rust CLI tool installs: the only guide you need (Mac, Linux, Windows) | dev.to | 2025-06-19ripgrep GitHub Fast alternative to grep
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
Project mention: Digging Through Linux: Must-Know Tools for File and Content Searches | dev.to | 2025-04-30
fd GitHub
-
-
Project mention: Taming LLMs: How to Get Structured Output Every Time (Even for Big Responses) | dev.to | 2025-07-11
To get started, install Outlines (pip install outlines) and experiment with the examples above. If you’re working on a project that needs structured LLM output, give Outlines a try and check out the official docs for more details. Want to dive deeper into FSM logic or specific integrations? Let me know in the comments!
-
grex
A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
-
There is sd, not a drop in replacement though.
https://github.com/chmln/sd
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
You can beat CTRE throughput with a non-compile-time solution. My first recommendation will be to look at HyperScan. It has remarkable throughput: https://github.com/intel/hyperscan
I’ve only avoided it in the tutorial, as I want to keep the build system lean. I wouldn’t be surprised if it’s 10x faster than Boost in the average case.
-
melody
Melody is a language that compiles to regular expressions and aims to be more readable and maintainable
-
-
-
-
-
regex
An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19Yes. I'm the one who implemented the case folding the `fd` uses (via its regex engine).
See: https://github.com/rust-lang/regex/blob/master/UNICODE.md#rl...
And then Unicode itself for more discussion on the topic: https://unicode.org/reports/tr18/#Simple_Loose_Matches
TR18 used to have a Level 3[1] with the kind of locale-specific custom tailoring support found in GNU's implementation of POSIX locales, but it was so fraught that it was retracted completely some years ago.
[1]: https://unicode.org/reports/tr18/#Tailored_Support
-
-
micromatch
Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by square, webpack, babel core, yarn, jest, ract-native, taro, bulma, browser-sync, stylelint, nyc, ava, and many others! Follow micromatch's author: https://github.com/jonschlinkert
Probably best to link to specific comment: https://github.com/micromatch/micromatch/issues/264#issuecom...
-
ugrep
🔍 ugrep 7.5 file pattern searcher -- a user-friendly, faster, more capable grep replacement. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), pdfs, docs, and more
Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19 -
-
-
-
-
py_regular_expressions
Learn Python Regular Expressions step by step from beginner to advanced levels
-
scripting_course
:notebook: Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Regex discussion
Regex related posts
-
Using Regex with Express
-
Bzip2 crate switches from C to 100% rust
-
Ask HN: YAML or Markdown for Personal Notes?
-
Vim, the After Life
-
Show HN: Comparing Docker minimal image size for a JSON API in various languages
-
Ask HN: How do you manage ideas, tasks, notes and other stuff?
-
One-Liner for Finding Typos
-
A note from our sponsor - InfluxDB
www.influxdata.com | 12 Jul 2025
Index
What are some of the best open-source Regex projects? This list will help you:
# | Project | Stars |
---|---|---|
1 | ripgrep | 53,636 |
2 | learn-regex | 46,034 |
3 | fd | 38,663 |
4 | AndroidUtilCode | 33,596 |
5 | outlines | 12,024 |
6 | grex | 7,512 |
7 | sd | 6,365 |
8 | hyperscan | 5,046 |
9 | melody | 4,689 |
10 | i-hate-regex | 4,519 |
11 | magic-regexp | 4,106 |
12 | regex-vis | 4,062 |
13 | regexlearn.com | 3,791 |
14 | regex | 3,729 |
15 | xregexp | 3,331 |
16 | micromatch | 2,934 |
17 | ugrep | 2,855 |
18 | comby | 2,507 |
19 | cheat-sheet-pdf | 2,032 |
20 | HackVault | 2,005 |
21 | emoji-regex | 1,810 |
22 | py_regular_expressions | 1,796 |
23 | scripting_course | 1,405 |