zorex
Zorex: the omnipotent regex engine (by hexops)
re2
modern regular expression syntax everywhere with a painless upgrade path [Moved to: https://github.com/SonOfLilit/kleenexp] (by sonoflilit)
zorex | re2 | |
---|---|---|
3 | 1 | |
65 | 34 | |
- | - | |
0.0 | 7.8 | |
over 2 years ago | over 2 years ago | |
Zig | Python | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zorex
Posts with mentions or reviews of zorex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-16.
- Types of Parser Combinators
-
Let's Build a Regex Engine
It's still really early stages, but I am actively working on a regexp engine[0] in Zig which aims to blur the line between regex engines and advanced parsing algorithms used to parse programming languages.
I am quite optimistic that due to Zig's portability and cross compilation, it shouldn't be too hard to expose it as a nice C library and use it from other languages soon.
[0] https://github.com/hexops/zorex
-
Making live repls behave (DRAFT)
My code is public here, albeit a bit complex: https://github.com/hexops/zorex/blob/main/src/combn/engine/parser.zig#L445-L449
re2
Posts with mentions or reviews of re2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-26.
-
Let's Build a Regex Engine
I have a (mostly abandoned, since I couldn't find an organization to cbe early adopter in the time I gave myself to work on it) side project with this aim. I spent a lot of time thinking about language design, from the perspective of enabling adoption of a new language when an existing one has so much network effect:
https://www.slideshare.net/AurSaraf/re3-modern-regex-syntax-...
https://github.com/sonoflilit/re2
What are some alternatives?
When comparing zorex and re2 you can also consider the following projects:
safe-regex-rs
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
reng - Simple toy regex engine implemented using backtracking algorithm and continuations.
packrattle - parser-combinator library (using GLL) for javascript
caniuse - Raw browser/feature support data from caniuse.com