OK, I have submitted bug 872: http://bugs.ledger-cli.org/show_bug.cgi?id=872. Sorry for bothering the mailing list with all the problems I had in trying to register..
Thanks for the explanation of value expressions/query expressions. Query expressions translate into value expressions, but not all the functions in value expressions are available in query expressions, right? Are query expressions parsed differently in different places? Doing "ledger query tag EXCLUDE" shows that it should match accounts =~ /tag EXCLUDE/, but doing "ledger query tag EXCLUDE" seems to match tag =~ /EXCLUDE/. (Maybe this is another bug.) This might all be shaving yaks, because really I'm trying to do budgeting and so maybe I should be asking questions about the budgeting features, but hey, while I'm here ;) Ethan