mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 22:50:39 +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";
|
type = "shellcommand";
|
||||||
command = "'${pkgs.notmuch}/bin/notmuch address --format=json --output=recipients date:6M..'";
|
command = "'${pkgs.notmuch}/bin/notmuch address --format=json --output=recipients date:6M..'";
|
||||||
regexp =
|
regexp =
|
||||||
"'\[?{"
|
"'\\[?{"
|
||||||
+ ''"name": "(?P<name>.*)", ''
|
+ ''"name": "(?P<name>.*)", ''
|
||||||
+ ''"address": "(?P<email>.+)", ''
|
+ ''"address": "(?P<email>.+)", ''
|
||||||
+ ''"name-addr": ".*"''
|
+ ''"name-addr": ".*"''
|
||||||
+ "}[,\]]?'";
|
+ "}[,\\]]?'";
|
||||||
shellcommand_external_filtering = "False";
|
shellcommand_external_filtering = "False";
|
||||||
};
|
};
|
||||||
example = literalExample ''
|
example = literalExample ''
|
||||||
|
|
Loading…
Reference in a new issue