Ross ROSS = Recommend OSS · open-source software intelligence for agents

rust-lang/regex

An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs. observed · 2026-08-28

github.com/rust-lang/regex · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

66/100

  • Activity 97
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4283
  • days_rel: n/a
  • days_push: 23
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4012 stars · 529 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

The standard regular expression crate for Rust, built on finite automata (DFAs/NFAs) to guarantee worst-case linear-time matching. It supports a rich regex syntax including Unicode, but omits look-around and backreferences to preserve that guarantee.

Use cases

  • match and extract patterns from text in Rust
  • parse log lines or grep-like output with regexes
  • validate user input like dates or emails
  • search large text corpora without regex denial-of-service risk
  • extract named capture groups from strings

When to choose

  • you need guaranteed linear-time matching with no catastrophic backtracking
  • you want the de facto standard, battle-tested regex library for Rust
  • you need full Unicode support in patterns
  • you're processing untrusted input with regexes

When to avoid

  • you need look-around (lookahead/lookbehind) or backreferences
  • you want PCRE-compatible semantics
  • you need a regex engine for a language other than Rust

Facets

library · maturity stable

parser search-engine developer-tools programming-languages parsers developer-tools rust cross-platform regex-engine finite-automata linear-time-matching dfa nfa text-search unicode algorithms

10 sources

Member repositories

RepositoryRoleHealth v2
rust-lang/regexmain66

For agents

markdown · JSON · MCP: product_card(name="rust-lang/regex")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem