diff options
Diffstat (limited to 'doc/ledger3.texi')
-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 |