Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free. Learn more →
Regex Alternatives
Similar projects and alternatives to regex
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
-
re2
modern regular expression syntax everywhere with a painless upgrade path [Moved to: https://github.com/SonOfLilit/kleenexp] (by sonoflilit)
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
node-re2
node.js bindings for RE2: fast, safe alternative to backtracking regular expression engines.
-
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
-
-
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
-
regex-benchmark
It's just a simple regex benchmark of different programming languages.
-
-
-
whatlang-rs
Natural language detection library for Rust. Try demo online: https://whatlang.org/
-
-
-
-
-
-
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
regex reviews and mentions
-
ScripterC - Rust-lang set
Dependencies used: - regex - unicode_reader - rust decimal - tokio
-
Regex Engine Internals as a Library
https://www.cs.princeton.edu/courses/archive/fall19/cos226/l... and https://kean.blog/post/lets-build-regex are excellent introductions to implementing a (very) simplified regex engine: construct a nondetermistic finite state automaton for the regex, then perform a graph search on the resulting digraph; if the vertex corresponding to your end state is reachable, you have a match.
I think this exercise is valuable for anyone writing regexes to not only understand that there's less magic than one might think, but also to visualize a bunch of balls bouncing along an NFA - that bug you inevitably hit in production due to catastrophic backtracking now takes on a physical meaning!
Separately re: the OP, https://github.com/rust-lang/regex/issues/822 (and specifically BurntSushi's comment at the very end of the issue) adds really useful context to the paragraph in the OP about niche APIs: https://blog.burntsushi.net/regex-internals/#problem-request... - searching with multiple regexes simultaneously against a text is both incredibly complex and incredibly useful, and I can't wait to see what the community comes up with for this pattern!
-
Some positive and negative comments after using rust for a while
Do you think this boilerplate is a good sign?
The ag/regex-automata branch for the regex crate: https://github.com/rust-lang/regex/tree/ag/regex-automata
-
I was wrong about rust
Tangential FYI: I'll be releasing a regex-lite crate soon, which should help binary size and compilation time for cases where you don't care too much about regex performance or Unicode support.
-
regex 1.8.0 released (no-op escapes allowed, (?<name>re) syntax added)
The rewrite is done. It's in this PR: https://github.com/rust-lang/regex/pull/978
This is a big release, but will be "soon" followed by an even bigger release that rewrites the entire regex crate. The regex crate will be turned into a thin wrapper around regex-automata APIs: https://github.com/rust-lang/regex/pull/978
-
Introducing Hitori – generic compile-time regular expressions library
I'm sorry but that's complete nonsense? The regex crate doesn't backtrack either, by design. And not backtracking is a very desirable property from a security & consistency perspective.
While regex has a backtracking engine, it's bounded and only there as an optimisation, and advanced uses via regex-automata should eventually allow disabling it without changing any of the engine's features.
-
A note from our sponsor - Mergify
blog.mergify.com | 26 Sep 2023
Stats
rust-lang/regex is an open source project licensed under Apache License 2.0 which is an OSI approved license.
The primary programming language of regex is Rust.