I went with using pure regexps which avoid the tweaks of the glob provided by the user.
An error will be raised if an invalid '*push' regexp is provided:
$ ./bzr config --all '*push' bzr: ERROR: Invalid pattern(s) found. "*push" nothing to repeat
I went with using pure regexps which avoid the tweaks of the glob provided by the user.
An error will be raised if an invalid '*push' regexp is provided:
$ ./bzr config --all '*push'
bzr: ERROR: Invalid pattern(s) found. "*push" nothing to repeat