"John Wiegley" <jo...@newartisans.com> writes: >>>>>> Eric Abrahamsen <e...@ericabrahamsen.net> 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: = expr recpt = tag("Receipt") Is enough to get the "Invalid token" parsing error. Tried it with single quotes around Receipt as well... Thanks, Eric -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.