Skip to content

Custom regexs for path filtering #690

Description

@sjrct

It would be useful for me to be able to specify custom regular expressions for path filtering, rather than the existing functionality which just replaces certain special characters with _.

For example, I would like to strip certain characters such as ?s, while replacing " with ', etc.

configparser doesn't really support something like arrays, but one could do multiple lines so long as they are indented, so a config could look something like:

path_filter_regex =
  s/\?//g
  s/"/'/g

or similar.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions