Skip to content

Update Rust crate fancy-regex to 0.17.0#140

Open
konflux-internal-p02[bot] wants to merge 1 commit intorhoai-3.3from
konflux/mintmaker/rhoai-3.3/fancy-regex-0.x
Open

Update Rust crate fancy-regex to 0.17.0#140
konflux-internal-p02[bot] wants to merge 1 commit intorhoai-3.3from
konflux/mintmaker/rhoai-3.3/fancy-regex-0.x

Conversation

@konflux-internal-p02
Copy link

@konflux-internal-p02 konflux-internal-p02 bot commented Dec 25, 2025

This PR contains the following updates:

Package Type Update Change
fancy-regex dependencies minor 0.13.0 -> 0.17.0

Release Notes

fancy-regex/fancy-regex (fancy-regex)

v0.17.0

Compare Source

Added
  • Add support for "easy" variable-length lookbehinds (enabled via new feature flag) (#​194, #​196)
  • Add support for more word boundaries: \b{start}, \b{end}, \b{start-half}, \b{end-half} (#​193)
  • Allow {...} repetition syntax after assertions (except in Oniguruma mode) (#​193)
  • Add Oniguruma mode flag to playground (#​199)
Changed
  • Rewrite Theory section of Readme in a more formal style (#​187)
  • Box CompileError in Error enum to reduce size (#​204)
  • Bail out early when \G fails to match for increased performance (#​198)
  • Handle ignore_whitespace case in parsing escape sequences (#​193)
  • Add tests to ensure that Regex is Send and Sync (#​195)
Fixed
  • Fix clippy lint warnings (#​204)

v0.16.2

Compare Source

Added
  • Add an "oniguruma mode" flag to control whether \< and \> are treated as literals or word-boundary assertions. (#​186)
  • Add support for const-size backrefs in lookbehinds. (#​182)
Changed
  • A few small internal changes which allowed us to expose a web-based playground for fancy-regex. (#​181)
Fixed
  • Fix behavior of repetition on an empty match. (#​179)
  • Always return the original input pattern when as_str is called. (#​185)
  • Fix panic when matching non-ascii text as part of a case insensitive backref. (#​189)
  • The toy example wasn't always showing the correct analysis or compiled program when optimizations were applied. (#​181)

v0.16.1

Compare Source

Fixed
  • Fixed a bug whereby sometimes a backreference to a non-existing capture group would compile successfully
    when it should fail, causing a panic in the VM when trying to match the regex. (#​174)

v0.16.0

Compare Source

Added
  • Add an optimization step after the pattern is parsed but before it is analyzed.
    Currently it only optimizes one specific use-case - where the expression is easy except
    for a trailing positive lookahead whose contents are also easy. The optimization is to delegate to the regex crate instead of using the backtracking VM. (#​171)
Changed
  • Patterns which are anchored to the start of the text (i.e. with ^ when not in multiline mode) should now fail faster when there is no match, because fancy-regex no longer tries to match at other positions. (#​170)
  • The CompileError for an invalid (numbered) backref has been updated to mention which backref was invalid (#​170)
  • Removed dependency on derivative (#​169)
Fixed
  • Fixed a bug whereby sometimes a capture group containing a backref to itself would cause a compile error, when it is valid - this fixes a few Oniguruma test cases (#​170)

v0.15.0

Compare Source

Added
  • Support \Z - anchor to the end of the text before any trailing newlines. (#​148)
  • Support \O - any character including newlines. (#​158)
  • The parser can now parse subroutine calls and relative backreferences (but execution is still unsupported). This is preparation for future work. Some new error variants have been added for features which can be parsed but are still otherwise unsupported.
  • Backreferences can now be case insensitive. (#​160)
  • RegexBuilder: Add options for multi_line, ignore_whitespace, dot_matches_new_line (#​165)
Fixed
  • Fix infinite loop when backtracking limit is hit (#​153)
  • Fix RegexBuilder.case_insensitive not always applying when it should. (#​163)
  • The toy example has had various bugfixes, and unit tests added. (#​152, #​159)

v0.14.0

Compare Source

Added
  • Add split, splitn methods to Regex to split a string into substrings (#​140)
  • Add case_insensitive method to RegexBuilder to force case-insensitive mode (#​132)
Changed
  • Bump bit-set dependency to 0.8 (#​139)

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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Signed-off-by: konflux-internal-p02 <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
@konflux-internal-p02 konflux-internal-p02 bot changed the title Update Rust crate fancy-regex to 0.17.0 fix(deps): update rust crate fancy-regex to 0.17.0 Jan 20, 2026
@konflux-internal-p02 konflux-internal-p02 bot changed the title fix(deps): update rust crate fancy-regex to 0.17.0 Update Rust crate fancy-regex to 0.17.0 Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants