Open-source projects categorized as regular-expressions

Top 11 regular-expression Open-Source Projects

  • GitHub repo grex

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

    Project mention: 🧢 Stefan's Web Weekly #12 | dev.to | 2021-03-30

    👉 Use grex to create regular expressions

  • GitHub repo regex

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

    Project mention: Rust Is for Professionals | news.ycombinator.com | 2021-04-13

    Solving that issue isn't trivial. I just read it and I wouldn't know where to begin, probably because I don't understand the requirements.

    I think what's being called "trivial" is doing a bit of regex searching. It's probably accurate to call that trivial for an experienced Rust programmer, but if you're just beginning, I don't think it's helpful to call anything trivial. I still remember my first exposure to Rust. It was different. It took a bit to grok. But once it clicked, things were much better.

    As the maintainer of the regex crate, I invite you or anyone to ask for help using regexes. The regex repo has Discussions opened up, so it's appropriate to ask for help, even if they are beginner questions: https://github.com/rust-lang/regex/discussions

    As usual though, try to provide as many details as you can. Giving the source code you have but can't get to work is a great start, for example.

  • GitHub repo SwiftLinkPreview

    It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.

  • GitHub repo py_regular_expressions

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

    Project mention: Saturday Daily Thread: Resource Request and Sharing! | reddit.com/r/Python | 2021-04-18

    For regex, this is my from book: https://github.com/learnbyexample/py_regular_expressions/blob/master/exercises/Exercises.md

  • GitHub repo fancy-regex

    Rust library for regular expressions using "fancy" features like look-around and backreferences

    Project mention: Debian Running on Rust Coreutils | news.ycombinator.com | 2021-03-09

    Ahh, very interesting, thanks for sharing! Do you have any thoughts around why that is? I presume that's due to Oniguruma supporting a much broader feature set and something like fancy-regexp's approach with mixing a backtracking VM and NFA implementation for simple queries would be needed for better perf? (I am aware you played a role in that) [1]

    I have been playing around with regex parsing through building parsers through parser combinators at runtime recently, no clue how it will perform in practice yet (structuring parser generators at runtime is challenging in general in low-level languages) but maybe that could pan out and lead to an interesting way to support broader sets of regex syntaxes like POSIX in a relatively straightforward and performant way.

    [1] https://github.com/fancy-regex/fancy-regex#theory

  • GitHub repo SmartRename

    A Windows Shell Extension for more advanced bulk renaming using search and replace or regular expressions

    Project mention: How to fix this default game listing so that games I add will be alphabetically positioned, or how to remove all the counters so to have just the alphabetic order? | reddit.com/r/RG351 | 2021-01-19

    Easy as a right click and rename files, left is the search preview and right is the result if you press Rename button: https://github.com/chrdavis/SmartRename

  • GitHub repo Ruby_Regexp

    Learn Ruby Regexp step by step from beginner to advanced levels with plenty of examples and exercises

    Project mention: Updated my ebooks on Ruby Regexp and Ruby one-liners | reddit.com/r/ruby | 2021-03-30
  • GitHub repo Crystular

    Crystal regex tester

  • GitHub repo sre

    A tool and library for using structural regular expressions.

    Project mention: SRE: A tool and library for using structural regular expressions | reddit.com/r/golang | 2021-01-31
  • GitHub repo regularize

    Regular Expression Builder for Python

    Project mention: georgepsarakis/regularize Easily compose regular expressions | reddit.com/r/programming | 2021-03-30
  • GitHub repo akim13.com

    My personal website

    Project mention: What's the easiest way to make a dark theme (like on 1st photo) for markdown files hosted on github pages? Please check comments for the full description | reddit.com/r/webdev | 2021-01-26

    So, I recently started my own "website" (repo link https://github.com/Jac0g/akim13.com) It's basically just my notes written in markdown and hosted on github pages. I want to somehow turn github default white color scheme (2nd photo) into a dark one (like on the 1st photo) without changing .md files.

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 2021-04-18.


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

Project Stars
1 grex 3,483
2 regex 1,835
3 SwiftLinkPreview 1,225
4 py_regular_expressions 771
5 fancy-regex 205
6 SmartRename 196
7 Ruby_Regexp 55
8 Crystular 31
9 sre 18
10 regularize 17
11 akim13.com 1