rx VS common-regex

Compare rx vs common-regex and see what are their differences.

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
rx common-regex
1 1
3 0
- -
3.1 10.0
6 months ago over 5 years ago
Rust Rust
- Apache License 2.0
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.

rx

Posts with mentions or reviews of rx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-30.
  • A portable, modern regular expression language
    9 projects | news.ycombinator.com | 30 Dec 2022
    I had a similar kind of idea for a long time, which I put into action a few weeks ago via a standalone transpiler of Emacs' rx macro to common regexp syntaxes.[0] I ended up getting interrupted and didn't completely finish it, but it generally works, though is probably riddled with edge cases.

    The basic idea of rx is to use S-expressions to describe regular expressions, and my elevator pitch would've been to embed rx invocations in shell scripts using $(syntax), the main use case being something like sed invocations.

    I still think it's a neat idea, and complex regular expressions tend to be hard to parse for humans.

    [0]: https://github.com/sulami/rx

common-regex

Posts with mentions or reviews of common-regex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-30.
  • A portable, modern regular expression language
    9 projects | news.ycombinator.com | 30 Dec 2022
    comparitor.insert("iyr", Regex::new(r"^(201[0-9]|2020)$").unwrap());

    There are lots of number parsing.

    I would enable both [[:1-12:]] and [[:01-12:]] as options without / with leading zeros.

    About the variables:

    This file would look much more readable with variables that are reusing other regexes:

    https://github.com/spcan/common-regex/blob/3238bc8ee85e0e000...

What are some alternatives?

When comparing rx and common-regex you can also consider the following projects:

logstash-patterns - Grok patterns for parsing and structuring log messages with logstash

fluent-plugin-grok-parser - Fluentd's Grok parser

kbnf - KBNF has been renamed to Dogma

oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

ReadableRegex.jl - regexes for people who don't really want to learn or read regexes

JSVerbalExpressions - JavaScript Regular expressions made easy

hfst - Helsinki Finite-State Technology (library and application suite)