chore(deps): update rust crate regex to v1.13.1 #38

Open
renovate-bot wants to merge 1 commit from renovate/regex-1.x-lockfile into master
Collaborator

This PR contains the following updates:

Package Type Update Change
regex dependencies minor 1.12.4 -> 1.13.1

Release Notes

rust-lang/regex (regex)

v1.13.1

Compare Source

===================
This is a release that fixes a bug where incorrect regex match offsets could be
reported. Note that this doesn't impact whether a match occurs or not, just
where it occurs. The match offsets are still valid for slicing, they just may
not refer to the correct leftmost-first match. See
#​1364 for (many) more details.

Bug fixes:

  • #​1354:
    Fixes previously unsound reverse suffix and inner optimizations.

v1.13.0

Compare Source

===================
This release includes a new API, a regex! macro, for lazy compilation of
a regex from a string literal. If you use regexes a lot, it's likely you've
already written one exactly like it. The new macro can be used like this:

use regex::regex;

fn is_match(line: &str) -> bool {
    // The regex will be compiled approximately once and reused automatically.
    // This avoids the footgun of using `Regex::new` here, which would
    // guarantee that it would be compiled every time this routine is called.
    // This would likely make this routine much slower than it needs to be.
    regex!(r"bar|baz").is_match(line)
}

let hay = "\
path/to/foo:54:Blue Harvest
path/to/bar:90:Something, Something, Something, Dark Side
path/to/baz:3:It's a Trap!
";

let matches = hay.lines().filter(|line| is_match(line)).count();
assert_eq!(matches, 2);

Improvements:

  • #​709:
    Add a new regex! macro for efficient and automatic reuse of a compiled regex.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [regex](https://github.com/rust-lang/regex) | dependencies | minor | `1.12.4` -> `1.13.1` | --- ### Release Notes <details> <summary>rust-lang/regex (regex)</summary> ### [`v1.13.1`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1131-2026-07-15) [Compare Source](https://github.com/rust-lang/regex/compare/1.13.0...1.13.1) \=================== This is a release that fixes a bug where incorrect regex match offsets could be reported. Note that this doesn't impact whether a match occurs or not, just where it occurs. The match offsets are still valid for slicing, they just may not refer to the correct leftmost-first match. See [#&#8203;1364](https://github.com/rust-lang/regex/pull/1364) for (many) more details. Bug fixes: - [#&#8203;1354](https://github.com/rust-lang/regex/issues/1354): Fixes previously unsound reverse suffix and inner optimizations. ### [`v1.13.0`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1130-2026-07-09) [Compare Source](https://github.com/rust-lang/regex/compare/1.12.4...1.13.0) \=================== This release includes a new API, a `regex!` macro, for lazy compilation of a regex from a string literal. If you use regexes a lot, it's likely you've already written one exactly like it. The new macro can be used like this: ```rust use regex::regex; fn is_match(line: &str) -> bool { // The regex will be compiled approximately once and reused automatically. // This avoids the footgun of using `Regex::new` here, which would // guarantee that it would be compiled every time this routine is called. // This would likely make this routine much slower than it needs to be. regex!(r"bar|baz").is_match(line) } let hay = "\ path/to/foo:54:Blue Harvest path/to/bar:90:Something, Something, Something, Dark Side path/to/baz:3:It's a Trap! "; let matches = hay.lines().filter(|line| is_match(line)).count(); assert_eq!(matches, 2); ``` Improvements: - [#&#8203;709](https://github.com/rust-lang/regex/issues/709): Add a new `regex!` macro for efficient and automatic reuse of a compiled regex. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41Mi44IiwidXBkYXRlZEluVmVyIjoiNDIuNTIuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS1ib3QiXX0=-->
chore(deps): update rust crate regex to v1.13.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ce118923f2
renovate-bot force-pushed renovate/regex-1.x-lockfile from ce118923f2
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
to fc85bfb2e4
All checks were successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-07-20 05:03:55 +05:30
Compare
renovate-bot changed title from chore(deps): update rust crate regex to v1.13.0 to chore(deps): update rust crate regex to v1.13.1 2026-07-20 05:04:01 +05:30
All checks were successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/regex-1.x-lockfile:renovate/regex-1.x-lockfile
git switch renovate/regex-1.x-lockfile

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/regex-1.x-lockfile
git switch renovate/regex-1.x-lockfile
git rebase master
git switch master
git merge --ff-only renovate/regex-1.x-lockfile
git switch renovate/regex-1.x-lockfile
git rebase master
git switch master
git merge --no-ff renovate/regex-1.x-lockfile
git switch master
git merge --squash renovate/regex-1.x-lockfile
git switch master
git merge --ff-only renovate/regex-1.x-lockfile
git switch master
git merge renovate/regex-1.x-lockfile
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
realaravinth/argon2-creds!38
No description provided.