Skip to content

chore(deps): bump the runtime group across 1 directory with 2 updates - #21

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/runtime-e22e4f873d
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/runtime-e22e4f873d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 28, 2026

Copy link
Copy Markdown
Contributor

Bumps the runtime group with 2 updates in the / directory: regex and fancy-regex.

Updates regex from 1.13.1 to 1.13.2

Changelog

Sourced from regex's changelog.

1.13.2 (2026-11-17)

Bug fixes:

  • #1333: Fix a glob syntax error in package.include.
  • #1388, #1344: Panic in BoundedBacktracker when haystack length exceeds capacity.
  • #1389: Revert default pool capacity change.
  • #1394, #1392: Allow Parser to be reused in regex-syntax.
  • #1395, #1393: Make Position's Ord match Eq in regex-syntax.
  • #1400: Fix incorrect match offsets for alternations whose branches start with the same repetition.
  • #1415: Avoid PikeVM panic with excess capture slots.
  • #1417: The Pattern trait now requires unsafe.
  • #1419: Read the high half of a serialized ByteSet from the right offset.
  • a1e367b: Fix a bug when WhichCaptures::None is used.
  • #1406: Fix off-by-one error.

Enhancements:

  • 80b9d14: Add is_match_with to regex-automata::meta::Regex.

Performance:

  • #1352: Do codepoint range canonicalization in-place.

Documentation:

  • #1380: Document overflow for Span::offset.
Commits
  • 4226f21 chore(release): 1.13.2
  • 6d6400a chore: resolve most zizmor findings as of zizmor@1.31.1 (#1410)
  • 213b01d chore: add some release script helpers
  • e1b1b66 chore: add git-cliff configuration
  • 09074fe fix: the Pattern trait now requires unsafe (#1417)
  • 8a2716b perf: do codepoint range canonicalization in-place (#1352)
  • 64fe83d chore: remove unnecessary clones (#1361)
  • aebad9d chore: fix derivable_impls clippy lint (#1405)
  • e91a836 chore: fix manual_clear clippy lint (#1404)
  • 11d0b6b fix: panic in BoundedBacktracker when haystack length exceeds capacity (#1388)
  • Additional commits viewable in compare view

Updates fancy-regex from 0.20.0 to 0.20.2

Release notes

Sourced from fancy-regex's releases.

0.20.2

Added

Changed

Fixed

  • Fixed more cases where the optimizations made were unsound (#333)

0.20.1

Added

  • A new Expr::has_descendant_or_self method to easily traverse the Expr descendants to find an Expr matching a predicate. (#319)
  • Add a RegexOptionsBuilder::optimize / RegexBuilder::optimize flag to disable the expression-tree optimization pass (enabled by default), and rework it into two tiers: optimize() now takes an OptimizeOptions struct with a find_not_empty flag that skips only the KeepOut (\K) and trailing-lookahead rewrites, while the safe rewrites still apply — so find_not_empty patterns benefit from them instead of skipping the whole pass. The decision on whether to optimize is centralized on RegexOptions::should_optimize and forwarded to the prefilter helpers (start_bytes, required_bytes) so they analyze the same tree as the compile path. (#323)
  • Support control character escapes \cX and \C-X in Oniguruma mode, e.g. \ca matches \x01 and \c\\ matches \x1C, both inside and outside of character classes. Without Oniguruma mode they are still invalid escapes. (#320)

Changed

Fixed

  • Positive lookaheads are now atomic, as in Oniguruma and PCRE: once a lookahead has matched, a later failure no longer backtracks into it to try another way of matching it. For example (?=x|(x))\1x no longer matches xx. (#313)
  • A hard variable-length lookbehind no longer reuses the candidate start positions left behind by a previous lookbehind that matched (or by a negative lookbehind whose body matched), which gave wrong results such as (b*)(?<!\1)c matching abc, or hit the backtrack limit when a pattern had two such lookbehinds, like (a*)b(?<=\1b)(c*)d(?<=\2d). (#314)
  • A repetition with a minimum count whose body can match an empty string (e.g. (?:a|(?=b)){2,}) could stop before reaching the minimum when it ran again at a position its previous run had reached, for example inside a repeated lookahead: (?:(?=(?:a|(?=b)){2,})a){2} matched aa. (#312)
  • A {n,} repetition whose body can match an empty string ended as soon as an iteration matched empty, even below the minimum. When the first iteration matched empty, the last required one now still runs, so (?:(?=^)a*){2,}b matches aab. A body that reads a capture group it sets itself can match differently in the next iteration, so there all required iterations run, and ^(?:(?(1)a|())){3,}$ no longer matches an empty string. (#325)
  • A conditional whose condition fails no longer leaves its entry on the VM's explicit stack. Before, an enclosing atomic group or possessive repeat read that entry at its end and kept its backtrack branches: (z)?(?>a*(?(1)x))a matched "aaa". (#316)
  • A conditional whose true branch is a group of alternatives, such as (?(1)(?:a|b)), was parsed as (?(1)a|b), so b became the false branch. (#315)
  • Inline flags set inside a capturing, named, atomic, lookaround, conditional or absent group, like (a(?i)b)c, now end with the group. Before, they leaked to the rest of the pattern, so (a(?i)b)c matched aBC and (?x)G(o(?-x)o) g did not ignore the spaces after the group. Only (?:...) and (?flags:...) restored them. (#317)
  • In Oniguruma mode, {,} is now literal text, as in Oniguruma, instead of being parsed as {0,}. For example (?:ab){,} matches ab{,}. {,n} is still {0,n}, and without Oniguruma mode {,} is unchanged. (#321)
  • In Oniguruma mode, a ? after an interval with swapped limits, like a{3,2}?, is now another quantifier, as in Oniguruma, so it makes the possessive a{2,3} optional. Before, it made the repeat lazy, so a{3,2}? matched aa in aaa and didn't match an empty string. A ?, * or + after a repeated empty group, like in (?:)** or (?:){3,2}?, is now dropped along with it instead of failing to parse. (#322)
  • In Oniguruma mode, a ? after a fixed interval, like a{3}?, is now another quantifier, as in Oniguruma, so a{3}? means (?:a{3})?. Before, it made the repeat lazy, which doesn't change anything for a fixed count, so a{3}? didn't match aa and a{3}?? matched aaa instead of an empty string. a{3,3}? is still lazy, and without Oniguruma mode a{3}? is unchanged.
  • A backref or conditional inside the group it refers to now sees the group's previous capture, as in PCRE and Perl. Before, it saw the new start of the group with the end of its previous capture, so (?:(\1|a)b){2} panicked on abab and ^((?(1)b|a))$ matched b but not a. (#328)
Changelog

Sourced from fancy-regex's changelog.

[0.20.2] - 2026-11-11

Added

Changed

Fixed

  • Fixed more cases where the optimizations made were unsound (#333)

[0.20.1] - 2026-11-09

Added

  • A new Expr::has_descendant_or_self method to easily traverse the Expr descendants to find an Expr matching a predicate. (#319)
  • Add a RegexOptionsBuilder::optimize / RegexBuilder::optimize flag to disable the expression-tree optimization pass (enabled by default), and rework it into two tiers: optimize() now takes an OptimizeOptions struct with a find_not_empty flag that skips only the KeepOut (\K) and trailing-lookahead rewrites, while the safe rewrites still apply — so find_not_empty patterns benefit from them instead of skipping the whole pass. The decision on whether to optimize is centralized on RegexOptions::should_optimize and forwarded to the prefilter helpers (start_bytes, required_bytes) so they analyze the same tree as the compile path. (#323)
  • Support control character escapes \cX and \C-X in Oniguruma mode, e.g. \ca matches \x01 and \c\\ matches \x1C, both inside and outside of character classes. Without Oniguruma mode they are still invalid escapes. (#320)

Changed

Fixed

  • Positive lookaheads are now atomic, as in Oniguruma and PCRE: once a lookahead has matched, a later failure no longer backtracks into it to try another way of matching it. For example (?=x|(x))\1x no longer matches xx. (#313)
  • A hard variable-length lookbehind no longer reuses the candidate start positions left behind by a previous lookbehind that matched (or by a negative lookbehind whose body matched), which gave wrong results such as (b*)(?<!\1)c matching abc, or hit the backtrack limit when a pattern had two such lookbehinds, like (a*)b(?<=\1b)(c*)d(?<=\2d). (#314)
  • A repetition with a minimum count whose body can match an empty string (e.g. (?:a|(?=b)){2,}) could stop before reaching the minimum when it ran again at a position its previous run had reached, for example inside a repeated lookahead: (?:(?=(?:a|(?=b)){2,})a){2} matched aa. (#312)
  • A {n,} repetition whose body can match an empty string ended as soon as an iteration matched empty, even below the minimum. When the first iteration matched empty, the last required one now still runs, so (?:(?=^)a*){2,}b matches aab. A body that reads a capture group it sets itself can match differently in the next iteration, so there all required iterations run, and ^(?:(?(1)a|())){3,}$ no longer matches an empty string. (#325)
  • A conditional whose condition fails no longer leaves its entry on the VM's explicit stack. Before, an enclosing atomic group or possessive repeat read that entry at its end and kept its backtrack branches: (z)?(?>a*(?(1)x))a matched "aaa". (#316)
  • A conditional whose true branch is a group of alternatives, such as (?(1)(?:a|b)), was parsed as (?(1)a|b), so b became the false branch. (#315)
  • Inline flags set inside a capturing, named, atomic, lookaround, conditional or absent group, like (a(?i)b)c, now end with the group. Before, they leaked to the rest of the pattern, so (a(?i)b)c matched aBC and (?x)G(o(?-x)o) g did not ignore the spaces after the group. Only (?:...) and (?flags:...) restored them. (#317)
  • In Oniguruma mode, {,} is now literal text, as in Oniguruma, instead of being parsed as {0,}. For example (?:ab){,} matches ab{,}. {,n} is still {0,n}, and without Oniguruma mode {,} is unchanged. (#321)
  • In Oniguruma mode, a ? after an interval with swapped limits, like a{3,2}?, is now another quantifier, as in Oniguruma, so it makes the possessive a{2,3} optional. Before, it made the repeat lazy, so a{3,2}? matched aa in aaa and didn't match an empty string. A ?, * or + after a repeated empty group, like in (?:)** or (?:){3,2}?, is now dropped along with it instead of failing to parse. (#322)
  • In Oniguruma mode, a ? after a fixed interval, like a{3}?, is now another quantifier, as in Oniguruma, so a{3}? means (?:a{3})?. Before, it made the repeat lazy, which doesn't change anything for a fixed count, so a{3}? didn't match aa and a{3}?? matched aaa instead of an empty string. a{3,3}? is still lazy, and without Oniguruma mode a{3}? is unchanged.
  • A backref or conditional inside the group it refers to now sees the group's previous capture, as in PCRE and Perl. Before, it saw the new start of the group with the end of its previous capture, so (?:(\1|a)b){2} panicked on abab and ^((?(1)b|a))$ matched b but not a. (#328)
Commits
  • 5b33048 Version 0.20.2
  • 4cd67a7 Merge pull request #333 from fancy-regex/fix_ambiguous_quantifier_optimization
  • c5354e1 Add changelog entry
  • e9d3ac6 Expand optimize differential test cases to cover *, {2}, and {2,50} quantifiers
  • 9728425 Add differential test helper proving optimized regex matches unoptimized
  • dd589f7 Fix ambiguous concat repeat optimization widening bounded edges
  • a460c32 Version 0.20.1
  • 6832ab0 improve build_seek_pattern doc comments
  • 5df1aaa Rename misleading contains_word_boundary variable
  • 92e724e fix clippy warning
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the runtime group with 2 updates in the / directory: [regex](https://github.com/rust-lang/regex) and [fancy-regex](https://github.com/fancy-regex/fancy-regex).


Updates `regex` from 1.13.1 to 1.13.2
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@1.13.1...1.13.2)

Updates `fancy-regex` from 0.20.0 to 0.20.2
- [Release notes](https://github.com/fancy-regex/fancy-regex/releases)
- [Changelog](https://github.com/fancy-regex/fancy-regex/blob/main/CHANGELOG.md)
- [Commits](fancy-regex/fancy-regex@0.20.0...0.20.2)

---
updated-dependencies:
- dependency-name: regex
  dependency-version: 1.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: runtime
- dependency-name: fancy-regex
  dependency-version: 0.20.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: runtime
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants