doc: note effect of tag comment position

This commit is contained in:
Simon Michael 2015-04-07 17:12:57 -07:00
parent 567d322907
commit 97888b1be4

View File

@ -459,6 +459,10 @@ one, and all tags have values except TAG1:
In the journal file, a hledger tag value can contain: text, internal whitespace, or punctuation, but not: commas, newlines, or leading/trailing whitespace (putting quotes around it doesn't work, but probably should).
The position of the comment containing the tag determines what is
tagged - the whole transaction and all of its postings, or just a
single posting (cf [transaction comment or posting comment](manual#comments)).
In [tag queries](manual#queries), remember the tag name must match exactly, while the value part is the usual case-insensitive infix regular expression match.
#### Directives