Skip to content

allow extended glob filter to work like a regular glob #24

Description

@plastikfan

Currently an extended glob filter must be composed of the base component plus 1 or more suffixes. These two elements are separated by a '|', eg:

'base*|.go,.txt'

However this is not a natural way of using globs. When a user is not using multiple extensions, forcing them to use this non intuitive format is not user friendly. This format should only be required when it is really necessary.

Fo resolve this, we can relax the requirement for the '|'. When it is not present, it can work just like a normal glob, ie

'*.go'

would be valid, instead of having to specify:

'*|.go'

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions