From 6934ed807e13e990b897c832674b1e680d905d8f Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Tue, 12 May 2020 10:32:17 +0800 Subject: docs: mark expressions as such --- doc/ledger3.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/ledger3.texi') diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 1fc49304..3688daf9 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -8123,12 +8123,12 @@ More complicated expressions are possible using: @table @code -@item "amount == COMMODITY AMOUNT" +@item expr "amount == COMMODITY AMOUNT" The amount can be any kind of amount supported by ledger, with or without a commodity. Use this for decimal values. @item /REGEX/ -@itemx account =~ /REGEX/ +@itemx expr account =~ /REGEX/ A regular expression that matches against an account's full name. If a posting, this will match against the account affected by the posting. @@ -8148,7 +8148,7 @@ a transaction. A regular expression (REGEX) or string (TAG) that checks for the metadata key of a transaction. -@item tag(REGEX) =~ /REGEX/ +@item expr tag(REGEX) =~ /REGEX/ A regular expression that matches a transaction's tags against its values. @item expr date =~ /REGEX/ -- cgit v1.2.3