Details
-
Type:
RFC
-
Status: Implemented
-
Resolution: Done
-
Component/s: DM
-
Labels:None
-
Location:PR
Description
The pipe_base parser supports
--show config=PATTERN
|
where PATTERN is a glob for the parameter you want to find. With the advent of documentation strings with the parameters this is no longer equivalent to piping the output to grep, so it's likely to see more use.
One annoying feature is that glob matches are case sensitive, and you often want to look for a parameter without knowing it's case (Is it *Background*" or *background"?). There's a workaround (*[Bb]ackground*) but this is inconvenient.
This RFC proposes making the match case insensitive. It's easy to do using fnmatch.translate, and I'm willing to do the work (i.e. push the patch and ask for a review)
Attachments
Issue Links
- relates to
-
DM-4217 Make the glob in --show config=xxx case insensitive if "xxx" is all lower case
- Done
OK by me.