diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2018-08-30 11:46:18 +0200 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2018-08-30 11:46:18 +0200 |
commit | 8645add344275161109c98098a519a8e57619d21 (patch) | |
tree | 61580d485bb6889e989bfc368fcac5130f595f8e /doc | |
parent | dcbc9c777693ee8c9bed8e0cf34889dc695a3369 (diff) | |
download | fork-ledger-8645add344275161109c98098a519a8e57619d21.tar.gz fork-ledger-8645add344275161109c98098a519a8e57619d21.tar.bz2 fork-ledger-8645add344275161109c98098a519a8e57619d21.zip |
Clarify tag() and has_tag()
Fixes #1676
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ledger3.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 7d68dfb7..3fad6d7c 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -8135,8 +8135,12 @@ posting. A regular expression that matches against a transaction's payee name. @item %/REGEX/ -@itemx tag(REGEX) -A regular expression that matches against a transaction's tags. +@itemx expr has_tag(/REGEX/) +@itemx expr has_tag('TAG') +A regular expression that checks for the tags of a transaction. + +@itemx tag(REGEX) =~ /REGEX/ +A regular expression that matches a transaction's tags against its values. @item expr date =~ /REGEX/ Useful for specifying a date in plain terms. For example, you could say |