Skip to content

Improve configuration of filename patterns #191

@dbr

Description

@dbr

Currently saving the config includes the complete list of regex patterns

This probably isn't too good, as most of the time people a) wont change them, or b) won't remove that option and this wont pick up improvements to the default patterns

Instead the default patterns should be moved out of the config, and instead:

  1. New option to add custom patterns.
  2. Need a way to control if these patterns are checked before or after the built-in patterns
  3. Need a way to control if the custom patterns completely replace the built-in ones or not (e.g someone might only want to match a very strict set of patterns)

Should use v4.0 to deprecate the filename_patterns option - keep respecting it for now, but emit warning that this option will be removed soon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions