>>>>> Eric Abrahamsen <[email protected]> writes:
> "John Wiegley" <[email protected]> writes: >>>>>>> Eric Abrahamsen <[email protected]> writes: >> >>> = expr recpt = tag("Receipt") and expr account =~ >>> /^expenses:(transportation|food|books)/ (Assets:Receipts) ((recpt > 0) ? >>> recpt : 1) >> >> Only use "expr" at the beginning. > Still getting the same error without the second "expr". Just reducing the > matching line to this: Try this maybe? = expr has_tag("Receipt") and expr account =~ /^expenses:(transportation|food|books)/ (Assets:Receipts) ((tag("Receipt") > 0) ? tag("Receipt") : 1) John -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
