Description
Is your feature or enhancement request related to a problem or limitation? Please describe
Searching is limited to only searching for a simple string.
Describe your enhancement idea
I would like to be able to use regex when searching datasets and members. The functionality exists in the z/OSMF API, however it is not implemented for datasets yet.
Describe alternatives you've considered
Provide any additional context
I have looked at the zowe-cli code and how I would implement this. There are two options:
- Copy what
searchJobs
has, which means to makesearchString
into an optional parameter, then add a new optional parameter alongside it calledsearchRegex
- Keep
searchString
a required option, but add an optional boolean calledisRegex
or similar, which when true would call the API with theresearch
query instead of thesearch
one.
I like option 1 more because it would be a standard implementation between jobs and datasets. However, unfortunately this would cause a breaking change (as searchString
would have to be made optional), which I would prefer to avoid (to allow this feature to come sooner), so therefore option 2 would have to do. But please let me know what your thoughts on that are.
This feature enhancement would also enable this enhancement on Zowe Explorer (which is ultimately what I want):
Metadata
Assignees
Type
Projects
Status
Medium Priority
Activity