Skip to content

Log a warning if regex is not enclosed within backslashes. #44277

Description

@RahulGautamSingh

Discussed in #43741

Originally posted by blackdra-gon June 2, 2026

Tell us more.

I noticed that the regexes in "managerFilePattern" need to be enclosed with a starting and ending /. As its not always the case, that regexes need this, I spent way to long to figure out, why my regexes do not work. Would it be a good idea to a warning in the debug log if a regex without /.../ is used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others

    Type

    Priority

    None yet

    Datasource

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions