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'
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:
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
would be valid, instead of having to specify: