In CLI(at least for cmd in windows), it is convenient to use "*" as a wildcard symbol to match any string to reduce typing. It also allows fuzzy search if used appropriately.
Here is the PR where I introduce "*" as a wildcard symbol in the find command: https://github.com/newalter/main/pull/2
I have extracted the functionality and relevant test files and made a PR against a clean addressbook-level4 branch so that it is more clear.
Update: wildcard symbol "\?" is added to match any non-space unit-length string.
In CLI(at least for cmd in windows), it is convenient to use "*" as a wildcard symbol to match any string to reduce typing. It also allows fuzzy search if used appropriately. Here is the PR where I introduce "*" as a wildcard symbol in the find command: https://github.com/newalter/main/pull/2
I have extracted the functionality and relevant test files and made a PR against a clean addressbook-level4 branch so that it is more clear.
Update: wildcard symbol "\?" is added to match any non-space unit-length string.