From 97888b1be4e43bdc38537a37f449bbe453187fb0 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 7 Apr 2015 17:12:57 -0700 Subject: [PATCH] doc: note effect of tag comment position --- doc/manual.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/manual.md b/doc/manual.md index 97e9d5f2c..4c1bc12ba 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -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