Skip to content

Modify bot: regex not matching without () #2686

@th-certbund

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.

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