If you declare tags and accounts using the --strict flag, you can add
different checks in the account and tag declaration. I'm using check
has_tag('tag-name') in the account declaration, and check value [== | =~]
some_value in the tag declaration.
This works fine if you check for a specific tag value, but it doesn't work
if you want to check for a tag without a value. check value != "" ,or check
value != '' or a similar regex don't raise any warnings.
Is there a way to check if a tag has no value?
--
---
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/ad4faffe-fbcd-4a33-b65b-a5a38360a80bn%40googlegroups.com.