Regex

Top 23 Regex Open-Source Projects

  • learn-regex

    Learn regex the easy way

  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    Project mention: Code Search Is Hard | news.ycombinator.com | 2024-04-10

    Basic code searching skills seems like something new developers are never explicitly taught, but which is an absolutely crucial skill to build early on.

    I guess the knowledge progression I would recommend would look something kind this:

    - Learning about Ctrl+F, which works basically everywhere.

    - Transitioning to ripgrep https://github.com/BurntSushi/ripgrep - I wouldn't even call this optional, it's truly an incredible and very discoverable tool. Requires keeping a terminal open, but that's a good thing for a newbie!

    - Optional, but highly recommended: Learning one of the powerhouse command line editors. Teenage me recommended Emacs; current me recommends vanilla vim, purely because some flavor of it is installed almost everywhere. This is so that you can grep around and edit in the same window.

    - In the same vein, moving back from ripgrep and learning about good old fashioned grep, with a few flags rg uses by default: `grep -r` for recursive search, `grep -ri` for case insensitive recursive search, and `grep -ril` for case insensitive recursive "just show me which files this string is found in" search. Some others too, season to taste.

    - Finally hitting the wall with what ripgrep can do for you and switching to an actual indexed, dedicated code search tool.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • AndroidUtilCode

    :fire: Android developers should collect the following utils(updating).

  • fd

    A simple, fast and user-friendly alternative to 'find'

    Project mention: Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1) | dev.to | 2024-03-16

    ripgrep: A super-fast file searcher. You can install it using your system's package manager (e.g., brew install ripgrep on macOS). fd: Another blazing-fast file finder. Installation instructions can be found here: https://github.com/sharkdp/fd

  • grex

    A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

    Project mention: grex 1.0.0 - Generate regular expressions from user-provided test cases | /r/Python | 2023-08-31
  • sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: Essential Command Line Tools for Developers | dev.to | 2024-01-15

    View on GitHub

  • hyperscan

    High-performance regular expression matching library

    Project mention: Ask HN: Regex on a File or Stream | news.ycombinator.com | 2024-03-06

    Maybe some other PCRE-compatible implementation offers streaming. For instance, https://www.intel.com/content/www/us/en/developer/articles/t... says it has this feature, but of course given who it's from it may be tied to a single brand of CPU.

    github seems to be https://github.com/intel/hyperscan

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • melody

    Melody is a language that compiles to regular expressions and aims to be more readable and maintainable

    Project mention: nom > regex | /r/rust | 2023-12-06
  • i-hate-regex

    The code for iHateregex.io 😈 - The Regex Cheat Sheet

  • magic-regexp

    A compiled-away, type-safe, readable RegExp alternative

    Project mention: A compiled-away, type-safe, readable RegExp alternative | news.ycombinator.com | 2024-04-06
  • regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

    Project mention: Zed is now open source | news.ycombinator.com | 2024-01-24

    The homepage has a benchmark that compares Zed's "insertion latency" to other editors, and this is the description:

    > Open input.rs at the end of line 21 in rust-lang/regex. Type z 10 times, measure how long it takes for each z to display since hitting the z key.

    Could someone clarify what that means? My interpretation of that was to go to https://github.com/rust-lang/regex/blob/master/regex-cli/arg... and start typing 'z' at the end of line 21, but that doesn't seem to make any sense. I guess that repo got refactored and those instructions are out of date?

  • regex-vis

    🎨 Regex visualizer & editor

  • regexlearn.com

    Learn RegEx step by step, from zero to advanced.

    Project mention: regexlearn.com VS regexp-it-cli - a user suggested alternative | libhunt.com/r/regexlearn.com | 2023-08-09
  • 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

    Project mention: A CLI for developing in monorepos, not building them | /r/javascript | 2023-12-08

    Packages on the RHS can contain wildcards, but must be escaped with brackets if so. We use micromatch for matching. Refer to their documentation for questions on matching behavior and available functionality.

  • ugrep

    NEW ugrep 5.1: an ultra fast, user-friendly, compatible grep. Ugrep combines the best features of other grep, adds new features, and searches fast. Includes a TUI and adds Google-like search, 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: Ugrep – a more powerful, ultra fast, user-friendly, compatible grep | news.ycombinator.com | 2023-12-30
  • comby

    A code rewrite tool for structural search and replace that supports ~every language.

    Project mention: Meet ast-grep: a Rust-based tool for code searching, linting, rewriting using AST | /r/rust | 2023-05-11

    How does it compare to https://github.com/comby-tools/comby, which can work on languages it doesnt even have grammars for (to a degree)

  • HackVault

    A container repository for my public web hacks!

    Project mention: What are polyglots and how to use them as a pentester | dev.to | 2023-12-03
  • py_regular_expressions

    Learn Python Regular Expressions step by step from beginner to advanced levels

    Project mention: Understanding Python re(gex)? | news.ycombinator.com | 2023-05-12
  • emoji-regex

    A regular expression to match all Emoji-only symbols as per the Unicode Standard.

  • scripting_course

    :notebook: Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim.

  • regexpbuilderphp

    🦉 human-readable regular expressions

    Project mention: Human-readable regular expressions for PHP | news.ycombinator.com | 2023-12-03
  • cheat-sheet-pdf

    📜 A Cheat-Sheet Collection from the WWW

  • pihole-regex

    Custom regex filter list for use with Pi-hole.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-10.

Regex related posts

Index

What are some of the best open-source Regex projects? This list will help you:

Project Stars
1 learn-regex 45,018
2 ripgrep 44,594
3 AndroidUtilCode 32,897
4 fd 31,392
5 grex 6,509
6 sd 5,334
7 hyperscan 4,620
8 melody 4,592
9 i-hate-regex 4,429
10 magic-regexp 3,598
11 regex 3,326
12 regex-vis 3,323
13 regexlearn.com 3,192
14 micromatch 2,606
15 ugrep 2,422
16 comby 2,265
17 HackVault 1,876
18 py_regular_expressions 1,716
19 emoji-regex 1,689
20 scripting_course 1,337
21 regexpbuilderphp 1,331
22 cheat-sheet-pdf 1,314
23 pihole-regex 1,298
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com