mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
alot: fix address book completion regex
This commit is contained in:
committed by
Robert Helgesson
parent
67aee78fdf
commit
6cd5c8fca5
@@ -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 ''
|
||||
|
||||
Reference in New Issue
Block a user