Skip to content

Modify bot: regex not matching without () #2686

Open

Description

@th-certbund

In a Modify bot configuration, a condition like

"if": {
    "field": "^12\\.[34]"

does not match values like "12.3" while

"if": {
    "field": "^(12\\.[34])"

does.

This looks like a bug with regex handling.

Activity

  1. added
    bugIndicates an unexpected problem or unintended behavior
    help wantedIndicates that a maintainer wants help on an issue or pull request
    good first issueIndicates a good issue for first-time contributors
    on Feb 17, 2026
  2. changed the title [-]Modify bot: regex not matching[/-] [+]Modify bot: regex not matching without ()[/+] on Feb 17, 2026
  3. sofiathefirst2323 commented on Feb 17, 2026

    @sofiathefirst2323

    I’d like to work on this issue—starting now due to a class deadline. If there’s an assignment process, could you please assign me? Thanks!

  4. sebix commented on Feb 18, 2026

    @sebix
    Member

    The comparison logic depends on the field type (integer vs string) (see my comments in the PR)

    @th-certbund What is an example value of the field in the event?

  5. anerudhh commented on Feb 28, 2026

    @anerudhh

    Hi I'd love to work on this issue. Will link a PR shortly if thats alright.

  6. th-certbund commented on Mar 3, 2026

    @th-certbund
    ContributorAuthor

    @th-certbund What is an example value of the field in the event?

    Example values are "12.3" or "11.12".

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcomponent: botsgood first issueIndicates a good issue for first-time contributorshelp wantedIndicates that a maintainer wants help on an issue or pull request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions