diff --git a/modules/programs/alot-accounts.nix b/modules/programs/alot-accounts.nix index 2def5fd1a..8f3ffdfb3 100644 --- a/modules/programs/alot-accounts.nix +++ b/modules/programs/alot-accounts.nix @@ -20,11 +20,11 @@ with lib; type = "shellcommand"; command = "'${pkgs.notmuch}/bin/notmuch address --format=json --output=recipients date:6M..'"; regexp = - "'\[?{" + "'\\[?{" + ''"name": "(?P.*)", '' + ''"address": "(?P.+)", '' + ''"name-addr": ".*"'' - + "}[,\]]?'"; + + "}[,\\]]?'"; shellcommand_external_filtering = "False"; }; example = literalExample ''