forgejo-contrib/forgejo-cli
20
407
Fork
You've already forked forgejo-cli
51

Update Rust crate regex to v1.13.0 - autoclosed #558

Merged
Cyborus merged 1 commit from renovate/regex-1.x-lockfile into main 2026年07月11日 21:10:48 +02:00

This PR contains the following updates:

Package Type Update Change
regex dependencies minor 1.12.41.13.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

rust-lang/regex (regex)

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:

useregex::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)}lethay="\path/to/foo:54:Blue Harvest
path/to/bar:90:Something, Something, Something, Dark Side
path/to/baz:3:It's a Trap!
";letmatches=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: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)

🚦 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 Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [regex](https://github.com/rust-lang/regex) | dependencies | minor | `1.12.4` → `1.13.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/284) for more information. --- ### Release Notes <details> <summary>rust-lang/regex (regex)</summary> ### [`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**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) - Automerge - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) 🚦 **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 [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTIuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI1Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update Rust crate regex to v1.13.0
All checks were successful
ci/woodpecker/pr/check-typos Pipeline was successful
ci/woodpecker/pr/check-clippy Pipeline was successful
ci/woodpecker/pr/check Pipeline was successful
9cf77620de
Cyborus deleted branch renovate/regex-1.x-lockfile 2026年07月11日 21:10:49 +02:00
viceice-bot changed title from (削除) Update Rust crate regex to v1.13.0 (削除ここまで) to Update Rust crate regex to v1.13.0 - autoclosed 2026年07月11日 21:11:14 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
Kind/Breaking
Breaking change that won't be backward compatible
Kind/Bug
Something is not working
Kind/Design
Discussion about UI/UX design
Kind/Documentation
Documentation changes
Kind/Enhancement
Improve existing functionality
Kind/Feature
New functionality
Kind/Security
This is security issue
Kind/Testing
Issue or pull request related to testing
Kind/Upstream
This is an issue with upstream software (Forgejo) that is probably not our fault
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Suspicious
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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
forgejo-contrib/forgejo-cli!558
Reference in a new issue
forgejo-contrib/forgejo-cli
No description provided.
Delete branch "renovate/regex-1.x-lockfile"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?