Skip to content

[Bug] Commit Message Duplicated When Two Regex Match #1274

@Cable-Billing

Description

@Cable-Billing

Updated to version 2025.15 and now this issue appears.

Reproduction steps:

  1. Setup two issue tracker rules, I have one for GitHub pull requests and another to demonstrate this bug
    Image
  2. Have a commit that matches both these expressions, for this example I have the message Upgrade Project to Godot v4.4 (#86)
    Image

Note that everything after the second match gets stuck onto the end of the message.

Above is just an example, so it doesn't make a lot of sense the second rule, but I use this for work and have a pull request rule and Jira number rule where this occurs.

If you swap the rules around in this case it behaves correctly.

Image
Image

Seems to only be when the order of the rules is not the same order of the matched parts of the commit message that it does this.

Something must have changed in version 2025.15 as this wasn't happening in the previous version.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions