Skip to content

cc path no longer regex #1794

@yphoenix

Description

@yphoenix

See: #1793

search 'VA AWS (yorick)'

  #  Record UID              Type    Title                     Description
---  ----------------------  ------  ------------------------  -----------
  1  XXXXXXXXXXXXXXXXXXXXXX  login   VA AWS (yorick)           XXXXXXX
  2  XXXXXXXXXXXXXXXXXXXXXX  login   VA GovCloud AWS (yorick)  XXXXXXX

search --regex 'VA AWS (yorick)'

  #  Record UID              Type    Title                     Description
---  ----------------------  ------  ------------------------  -----------
  1  XXXXXXXXXXXXXXXXXXXXXX  login   VA AWS (yorick)           XXXXXXX

That solved it for search but really I trying to use it with cc

cc 'VA AWS (yorick)'
More than one record are found for search criteria: VA AWS (yorick)

Because the search there is now "relaxed" and not regex anymore, the problem will crop up everywhere that the "record path" can be specified.

How do I solve that, other that performing a search, and then using the results of the search as the UID for the cc command.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions