mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 05:03:09 +00:00
alot: fix address book completion regex
This commit is contained in:
parent
67aee78fdf
commit
6cd5c8fca5
1 changed files with 2 additions and 2 deletions
|
@ -20,11 +20,11 @@ with lib;
|
|||
type = "shellcommand";
|
||||
command = "'${pkgs.notmuch}/bin/notmuch address --format=json --output=recipients date:6M..'";
|
||||
regexp =
|
||||
"'\[?{"
|
||||
"'\\[?{"
|
||||
+ ''"name": "(?P<name>.*)", ''
|
||||
+ ''"address": "(?P<email>.+)", ''
|
||||
+ ''"name-addr": ".*"''
|
||||
+ "}[,\]]?'";
|
||||
+ "}[,\\]]?'";
|
||||
shellcommand_external_filtering = "False";
|
||||
};
|
||||
example = literalExample ''
|
||||
|
|
Loading…
Reference in a new issue