>>>>> "MM" == Martin Michlmayr <[email protected]> writes:
MM> John, just to make sure I understand this currently (as this isn't MM> documented properly in the manual). MM> tag() is used to check whether the _value_ of a tag has a certain value, MM> i.e. tag(/foo/) =~ /bar/ MM> whereas MM> has_tag() is used to check whether a tag exists. Exactly. tag(FOO) returns the value of some tag matching FOO. If multiple tags match, I'm not entirely sure what happens. MM> (In reality, tag() can also be used to check if a tag exists, but _only_ MM> if it's a "tag: value"; this won't work for :tag:). Right. MM> BTW, do we have terminology to distinguish between "tag: foo" and ":tag:"? MM> It seems they are both tags, even though they are different. Tags with MM> value vs tags without value? I think of the former as metadata, and the latter as tags, though there is a bit of unification in the way they are handled. 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.
