regex

Just a simple limited regex parser / matcher - written for practice instead of utility (by sjpotter)

Regex Alternatives

Similar projects and alternatives to regex

  • ripgrep

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

  • Redis

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

  • 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.

    InfluxDB logo
  • RE2

    49 regex VS RE2

    RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.

  • gop

    23 regex VS gop

    The Go+ programming language is designed for engineering, STEM education, and data science

  • tiny-regex-c

    Small portable regex in C (cbmc verified, and extended) (by rurban)

  • tlex

    2 regex VS tlex

    A debugabble, flexible and customizable lexical analyzer (also powers Galore and Notations).

  • tiny-matcher

    Dynamic (no compilation), bounded recursive.

  • SaaSHub

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

    SaaSHub logo
  • regex-go

    a port of my java regex play library to go, as an exploration of object oriented programming in go

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better regex alternative or higher similarity.

regex reviews and mentions

Posts with mentions or reviews of regex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-12.
  • Rob Pike's simple C regex matcher in Go
    9 projects | news.ycombinator.com | 12 Aug 2022
    So fun story (to me in retrospect).

    I had an interview at google years ago where I basically I was asked to come up with this on my own. In my opinion, a terrible interview Q (per Kernighan's blog, linked in original post, it took pike an hour or two alone in his office), and I bombed it. It was either my just before or just after lunch interview and it stuck with me for the rest of the day and I couldn't give my entire focus to the rest of the sessions.

    anyways, after it was done, I found kernighan's blog post and decided I should try to implement this in java as it will allow me to even get some practice with things like junit and more experience with object oriented programming as I had been living in the C world at that time). so I did, but I then found this regular expression page ( https://www.regular-expressions.info/) and learned many more things about "regular expressions" that i hadn't learned in school (because they aren't regular) and wondered if I could extend pike's simplicity to them in a relatively simple manner. So I did.

    which I created this https://github.com/sjpotter/regex.

    Not meant to be "performant" but meant to be educational to me and perhaps others.

    Then when I was learning go, I rewrote it in Go. I did things that are not "normal" go patterns (i.e. using panic and recover to make error handling cleaner (in my opinion, if an error path is simply if (err) { return err } all the way up, I personally think panics/recover at the top can be cleaner, but it seems most disagree), but it was educational on how to rewrite my java code to an object oriented style in Go and to explore the limitations of interfaces and how one might get around them (also perhaps in ways that go against what might be considered proper go programming)

    https://github.com/sjpotter/regex-go

    though now that I look at that repo, wondering if all the work was done elsewhere and then I just pushed a single commit there, might need to go back and look at it

Stats

Basic regex repo stats
1
1
10.0
about 5 years ago

The primary programming language of regex is Java.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com