lazy-regex
lazy static regular expressions checked at compile time
3.6.1
39M downloads/mo
#1446 most downloaded on crates.io
Canop/lazy-regex
What this package is like to depend on
Last release 25 days ago
29 Jul 2026
Release timing varies
gaps range from 3 weeks to 10 months
Most releases are documented
notes for 24 of 32 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
33 releases · first in 2019
5 releases in the last 12 months
see the full history below
Release timeline
33 releases · Oct 2019 to Jul 2026Releases
latest 33-
3.6.129 Jul 2026Release notes
Open source →- fix non relevant "unreachable_code" warning in regex_switch - Fix #40 - Thanks @Guflly
<a name="v3.6.0"></a>
-
3.6.011 Feb 2026Release notes
Open source →regex_remove_all!andbytes_regex_remove_all!- MSRV updated to 1.71
<a name="v3.5.1"></a>
-
3.5.104 Jan 2026 -
3.5.002 Jan 2026Nothing published for this version
-
3.4.229 Oct 2025Nothing published for this version
-
3.4.127 Dec 2024 -
3.4.027 Dec 2024Nothing published for this version
-
3.3.023 Aug 2024Release notes
Open source →- revert a change regarding dependencies & features, brought with 3.2.0, which proved to be unconvenient for configuration with no default features - Fix #36
<a name="v3.2.0"></a>
-
3.2.025 Jul 2024Release notes
Open source →regex_if!andbytes_regex_if!regex_switch!andbytes_regex_switch!
<a name="v3.1.0"></a>
-
3.1.009 Nov 2023Release notes
Open source →- bytes_ prefixed macros create instances of
bytes::Regex- Fix #30
<a name="v3.0.2"></a>
- bytes_ prefixed macros create instances of
-
3.0.212 Sep 2023Release notes
Open source →- replace macros now accept a mut closure as replacer - Fix #27
<a name="v3.0.1"></a>
-
3.0.128 Jul 2023 -
3.0.007 Jul 2023Release notes
Open source →- the
litefeature switches the engine toregex-liteinstead ofregex. The whole regex|regex-lite crate is reexported underlazy_regex::regex - regex crate upgraded to 1.9
<a name="v2.5.0"></a>
- the
-
2.5.009 Mar 2023Release notes
Open source →replace!andreplace_all!now supports non closure replacers - Fix #19
<a name="v2.4.1"></a>
-
2.4.105 Jan 2023Release notes
Open source →- rustc minimal version downgraded from 1.65 to to 1.56 by popular demand
<a name="v2.4.0"></a>
-
2.4.004 Jan 2023Release notes
Open source →- allow building with
--no-default-features - regex crate upgraded from 1.5 to 1.7 (minor Unicode changes)
- rustc minimal version now 1.65
<a name="v2.3.1"></a>
- allow building with
-
2.3.203 Jan 2023 withdrawnNothing published for this version
-
2.3.104 Nov 2022Release notes
Open source →- better error messages on bad regexes - thanks @necauqua
<a name="v2.3.0"></a>
-
2.3.005 Mar 2022Release notes
Open source →- support for bytes regexes with the
Bsuffix notation - thanks @bnoctis - Fix #11
<a name="v2.2.2"></a>
- support for bytes regexes with the
-
2.2.220 Oct 2021 -
2.2.107 Jun 2021Release notes
Open source →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>
-
2.2.004 Jun 2021Release notes
Open source →Add the
regex_replace_all!macro to do replacements with a closure taking the right number of&strarguments according to the number of groups in the regular expression<a name="v2.1.0"></a>
-
2.1.002 Jun 2021Release notes
Open source →Add the
lazy_regex!macro returning aLazy<Regex>for easy use in apub staticshared declaration.<a name="v2.0.2"></a>
-
2.0.231 May 2021Release notes
Open source →Fix a cross compilation problem, thanks @AlephAlpha - Fix #5
<a name="v2.0.1"></a>
-
2.0.120 May 2021 -
2.0.017 May 2021Release notes
Open source →- regular expressions are now checked at compile time
- regex_is_match!
- regex_find!
- regex_captures!
<a name="v1.1.0"></a>
-
1.1.008 May 2021Release notes
Open source →- no more complementary import needed
- now based on once_cell instead of lazy_static
<a name="v1.0.0"></a>
-
1.0.004 May 2021 -
0.1.410 Jul 2020Nothing published for this version
-
0.1.318 May 2020Nothing published for this version
-
0.1.207 Oct 2019Nothing published for this version
-
0.1.107 Oct 2019Nothing published for this version
-
0.1.007 Oct 2019Nothing published for this version