Skip to content
The Internet Compass

crates.io

regex

An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

Security

2 known advisories

From the Open Source Vulnerabilities (OSV) database — most recent: GHSA-m5pq-gvj9-9vr8. Check the advisory before using this version in production.

Repository

https://github.com/rust-lang/regex ↗

Sourced from crates.io · Updated September 6, 2026

Package metadata from crates.io, the Rust community's crate registry.

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is regex?

An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

Is regex safe to use?

regex has 2 known advisories in the OSV database — check before using this version in production.

What license does regex use?

regex does not specify a license.