lastpass/lastpass-cli — pull request #38 by kesselborn (2014-10-26 12:25:21+00:00)
Title: Add support to search using regexp

All commands that accept a UNIQUE_NAME parameter accept regular
expressions names as well, so instead of writing:

lpass show 'Generated Password for soundcloud.com'

you can call

lpass show /soundcl/

as well. When multiple accounts are matched, execution aborts with a
multiple match error (as if mulitple accounts had the same name)

This is an alternative to lastpass/lastpass-cli#37 and was developed in
parallel. I would welcome one of those PRs being supported.
Differences:
- this one understands regular expression constructs like `/Gen.*soundcl/` instead of matching substrings
- the `UNIQUE_NAME` has to be surrounded by `/` characters to make fuzzy search explicit -- it's only executed if there hasn't been an exact match before

Signed-off-by: Daniel Bornkessel