Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grep mode for search with exact matches #9

Closed
mickael-menu opened this issue Mar 14, 2021 · 1 comment
Closed

Grep mode for search with exact matches #9

mickael-menu opened this issue Mar 14, 2021 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@mickael-menu
Copy link
Member

The --match option is super fast and usually find more desired results, but it could be useful to have an additional --grep one looking for exact matches in all the notes. Regular expressions could be enabled as well for more advanced use cases.

@mickael-menu mickael-menu added the enhancement New feature or request label Mar 14, 2021
@mickael-menu mickael-menu added this to Backlog in zk via automation Mar 16, 2021
@mickael-menu
Copy link
Member Author

The --exact-match option addresses the common use case of special characters matching.

For regular expressions, maybe a new --exec option would be enough while being also more flexible.

$ zk list --sort title --exec grep 'something' {} \;

zk automation moved this from Backlog to Done Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
zk
Done
Development

No branches or pull requests

1 participant