NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1472 most downloaded on crates.io
lazy static regular expressions checked at compile time
Last release 5 days ago
03 Oct 2026
Release timing varies
gaps range from 3 weeks to 10 months
Most releases are documented
notes for 25 of 33 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
34 releases · first in 2019
syn dependency updated to 3.0. Lighten compilation for programs already importing syn 3 (serde, this_error, etc.) - Thanks @hwright
syn dependency updated to 3.0. Lighten compilation for programs already importing syn 3 (serde, this_error, etc.) - Thanks @hwright<a name="v3.6.1"></a>
fix non relevant "unreachable_code" warning in regex_switch - Fix #40 - Thanks @Guflly
<a name="v3.6.0"></a>
One column per quarter.
regex_remove_all! and bytes_regex_remove_all!
regex_remove_all! and bytes_regex_remove_all!<a name="v3.5.1"></a>
regex_remove! and bytes_regex_remove!
regex_remove! and bytes_regex_remove!<a name="v3.4.1"></a>
Nothing published for this version
Nothing published for this version
regex_captures_iter! macro - Fix #37
<a name="v3.3.0"></a>
Nothing published for this version
revert a change regarding dependencies & features, brought with 3.2.0, which proved to be unconvenient for configuration with no default features - Fi
<a name="v3.2.0"></a>
regex_switch! and bytes_regex_switch!
regex_if! and bytes_regex_if!regex_switch! and bytes_regex_switch!<a name="v3.1.0"></a>
bytes_ prefixed macros create instances of bytes::Regex - Fix #30
bytes::Regex - Fix #30<a name="v3.0.2"></a>
replace macros now accept a mut closure as replacer - Fix #27
<a name="v3.0.1"></a>
- syn dependency updated to 2.0
<a name="v3.0.0"></a>
the lite feature switches the engine to regex-lite instead of regex. The whole regex|regex-lite crate is reexported under lazy_regex::regex
lite feature switches the engine to regex-lite instead of regex. The whole regex|regex-lite crate is reexported under lazy_regex::regex<a name="v2.5.0"></a>
replace! and replace_all! now supports non closure replacers - Fix #19
replace! and replace_all! now supports non closure replacers - Fix #19<a name="v2.4.1"></a>
rustc minimal version downgraded from 1.65 to to 1.56 by popular demand
<a name="v2.4.0"></a>
allow building with --no-default-features
--no-default-features<a name="v2.3.1"></a>
Nothing published for this version
better error messages on bad regexes - thanks @necauqua
<a name="v2.3.0"></a>
support for bytes regexes with the B suffix notation - thanks @bnoctis - Fix #11
B suffix notation - thanks @bnoctis - Fix #11<a name="v2.2.2"></a>
Reexpose features of the regex crate
Reexpose features of the regex crate
<a name="v2.2.1"></a>
Add the regex_replace! macro for when you only want to replace one match Reexports more types of the regex crates
Add the regex_replace! macro for when you only want to replace one match
Reexports more types of the regex crates
<a name="v2.2.0"></a>
Add the regex_replace_all! macro to do replacements with a closure taking the right number of &str arguments according to the number of groups in the
Add the regex_replace_all! macro to do replacements with a closure taking the right number of &str arguments according to the number of groups in the regular expression
<a name="v2.1.0"></a>
Add the lazy_regex! macro returning a Lazy for easy use in a pub static shared declaration.
Add the lazy_regex! macro returning a Lazy<Regex> for easy use in a pub static shared declaration.
<a name="v2.0.2"></a>
Fix a cross compilation problem, thanks @AlephAlpha - Fix #5
Fix a cross compilation problem, thanks @AlephAlpha - Fix #5
<a name="v2.0.1"></a>
Improved documentation
Improved documentation
<a name="v2.0.0"></a>
regular expressions are now checked at compile time
<a name="v1.1.0"></a>
no more complementary import needed
<a name="v1.0.0"></a>
- first public release
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →