In my ledgerbil program I construct ledger queries for accounts and ran into an issue when the account ended with a % sign. I now realize a % sign in the account name probably isn't a great idea, but I'd like to handle if possible.
An example! Let's say we have an account: assets: unwise% And wrap the account to query for an exact match: ledger balance '^assets: unwise%$' It appears that ledger interprets this as: ledger balance '^assets: unwise' %$ Where %$ will match any tag. Is there some other way to query for accounts that would avoid this issue? And would want to be able to query for multiple accounts at one time. And again, easy solution is that I won't use % in an account name, but it was working okay otherwise and I'm trying to head off future bug reports that would be really hard to troubleshoot. :-) Thanks! -- --- 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.
