PackageTrack
Sign in Get early access

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 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 33
  1. 3.6.1 29 Jul 2026
    Release notes
    • fix non relevant "unreachable_code" warning in regex_switch - Fix #40 - Thanks @Guflly

    <a name="v3.6.0"></a>

    Open source →
  2. 3.6.0 11 Feb 2026
    Release notes
    • regex_remove_all! and bytes_regex_remove_all!
    • MSRV updated to 1.71

    <a name="v3.5.1"></a>

    Open source →
  3. 3.5.1 04 Jan 2026
    Release notes
    • regex_remove! and bytes_regex_remove!

    <a name="v3.4.1"></a>

    Open source →
  4. 3.5.0 02 Jan 2026

    Nothing published for this version

  5. 3.4.2 29 Oct 2025

    Nothing published for this version

  6. 3.4.1 27 Dec 2024
    Release notes
    • regex_captures_iter! macro - Fix #37

    <a name="v3.3.0"></a>

    Open source →
  7. 3.4.0 27 Dec 2024

    Nothing published for this version

  8. 3.3.0 23 Aug 2024
    Release notes
    • 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>

    Open source →
  9. 3.2.0 25 Jul 2024
    Release notes
    • regex_if! and bytes_regex_if!
    • regex_switch! and bytes_regex_switch!

    <a name="v3.1.0"></a>

    Open source →
  10. 3.1.0 09 Nov 2023
    Release notes
    • bytes_ prefixed macros create instances of bytes::Regex - Fix #30

    <a name="v3.0.2"></a>

    Open source →
  11. 3.0.2 12 Sep 2023
    Release notes
    • replace macros now accept a mut closure as replacer - Fix #27

    <a name="v3.0.1"></a>

    Open source →
  12. 3.0.1 28 Jul 2023
    Release notes
    • syn dependency updated to 2.0

    <a name="v3.0.0"></a>

    Open source →
  13. 3.0.0 07 Jul 2023
    Release notes
    • the lite feature switches the engine to regex-lite instead of regex. The whole regex|regex-lite crate is reexported under lazy_regex::regex
    • regex crate upgraded to 1.9

    <a name="v2.5.0"></a>

    Open source →
  14. 2.5.0 09 Mar 2023
    Release notes
    • replace! and replace_all! now supports non closure replacers - Fix #19

    <a name="v2.4.1"></a>

    Open source →
  15. 2.4.1 05 Jan 2023
    Release notes
    • rustc minimal version downgraded from 1.65 to to 1.56 by popular demand

    <a name="v2.4.0"></a>

    Open source →
  16. 2.4.0 04 Jan 2023
    Release notes
    • 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>

    Open source →
  17. 2.3.2 03 Jan 2023 withdrawn

    Nothing published for this version

  18. 2.3.1 04 Nov 2022
    Release notes
    • better error messages on bad regexes - thanks @necauqua

    <a name="v2.3.0"></a>

    Open source →
  19. 2.3.0 05 Mar 2022
    Release notes
    • support for bytes regexes with the B suffix notation - thanks @bnoctis - Fix #11

    <a name="v2.2.2"></a>

    Open source →
  20. 2.2.2 20 Oct 2021
    Release notes

    Reexpose features of the regex crate

    <a name="v2.2.1"></a>

    Open source →
  21. 2.2.1 07 Jun 2021
    Release notes

    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>

    Open source →
  22. 2.2.0 04 Jun 2021
    Release notes

    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>

    Open source →
  23. 2.1.0 02 Jun 2021
    Release notes

    Add the lazy_regex! macro returning a Lazy<Regex> for easy use in a pub static shared declaration.

    <a name="v2.0.2"></a>

    Open source →
  24. 2.0.2 31 May 2021
    Release notes

    Fix a cross compilation problem, thanks @AlephAlpha - Fix #5

    <a name="v2.0.1"></a>

    Open source →
  25. 2.0.1 20 May 2021
    Release notes

    Improved documentation

    <a name="v2.0.0"></a>

    Open source →
  26. 2.0.0 17 May 2021
    Release notes
    • regular expressions are now checked at compile time
    • regex_is_match!
    • regex_find!
    • regex_captures!

    <a name="v1.1.0"></a>

    Open source →
  27. 1.1.0 08 May 2021
    Release notes
    • no more complementary import needed
    • now based on once_cell instead of lazy_static

    <a name="v1.0.0"></a>

    Open source →
  28. 1.0.0 04 May 2021
    Release notes
    • first public release
    Open source →
  29. 0.1.4 10 Jul 2020

    Nothing published for this version

  30. 0.1.3 18 May 2020

    Nothing published for this version

  31. 0.1.2 07 Oct 2019

    Nothing published for this version

  32. 0.1.1 07 Oct 2019

    Nothing published for this version

  33. 0.1.0 07 Oct 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive