diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2017-01-20 22:11:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 22:11:51 +0000 |
commit | 1db02607689750b82fa0ccb7640e1d6192a69afd (patch) | |
tree | e4d0539923933f19a0a3be9aaef886e2f6224416 | |
parent | 33da7101740d640167de6784a30bb24768ad03ef (diff) | |
parent | 9bc28f4c7e9bd5633239b4445418daf59c7d9f9c (diff) |
Merge pull request #991 from lucc/docs/notmuch-address
Suggest `notmuch address --format=json` in the docs
-rw-r--r-- | docs/source/configuration/contacts_completion.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/configuration/contacts_completion.rst b/docs/source/configuration/contacts_completion.rst index 707af984..9185424f 100644 --- a/docs/source/configuration/contacts_completion.rst +++ b/docs/source/configuration/contacts_completion.rst @@ -64,8 +64,8 @@ Both respect the `ignorecase` option which defaults to `True` and results in cas .. code-block:: ini - command = "notmuch address --output=recipients date:1Y.. AND from:my@address.org" - regexp = (\"?(?P<name>.+)\"?)?\s*<(?P<email>.*@.+?)> + command = 'notmuch address --format=json --output=recipients date:1Y.. AND from:my@address.org' + regexp = '\[?{"name": "(?P<name>.*)", "address": "(?P<email>.+)", "name-addr": ".*"}[,\]]?' shellcommand_external_filtering = False Don't hesitate to send me your custom `regexp` values to list them here. |