Hi,

I cannot use automated expressions in master-0-g55c7792.

This used to work in ledger 2.6:
========================================================
= /^Assets:Bank:Visa/
    Assets:Bank:Visa                  -1
    Assets:Bank:Checking                1
========================================================

I tried to translate it to ledger 3.0:
========================================================
= account =~ /^Assets:Bank:Visa/
    Assets:Bank:Visa                  -1
    Assets:Bank:Checking                1
========================================================
But nothing is inserted. I must have missed something (the documentation
is very sparse about this change ;-).

BTW, I use this transaction because I want to keep track of the
transactions I pay using my credit card. Here, in France, credit cards
are bound to checking accounts, it's more a payment card than a credit
card in fact, so it doesn't make sense to put it in Liabilities. This
transaction allows me to distinguish between checks and credit card
payments, while keeping everything subtracted from the (real) checking
account in the end. If you have a better solution, I'd be glad to hear
about it (I tried virtual accounts, but couldn't find a proper way of
doing it).

Regards,
-- 
Gabriel Kerneis

Reply via email to