On Nov 18, 2010, at 12:00 PM, Peter Keen wrote: > = d>=[2010/02/10] & /^(?:Expenses:(Cable|Utils))/ & !/Expenses:Utils:Water/
Change it to read: = expr date=>[2010/02/10] && account =~ /^(?:Expenses:(Cable|Utils))/ && account !~ /Expenses:Utils:Water/ $account -0.5 Assets:Receivable:Andrew 0.5 On a further note, where would I go in the source to learn about the > filter language? I've seen people post snippets but as far as I can > tell there's no comprehensive docs yet, and my shallow dives into the > source haven't turned up anything useful. It's all in token.cc and parser.cc. The "report query" language used by this expression (and which is a superset of the basic expression language) is in query.cc. Of all parts of Ledger, this really needs to be documented the most. John
