summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2020-05-12 10:32:17 +0800
committerMartin Michlmayr <tbm@cyrius.com>2020-05-12 10:32:17 +0800
commit6934ed807e13e990b897c832674b1e680d905d8f (patch)
treed5b5321cf6da08f0517bee0cf1f496855e84bd21
parent1d461fd217f4af6eab0e126d33dc19777d568131 (diff)
docs: mark expressions as such
-rw-r--r--doc/ledger3.texi6
1 files changed, 3 insertions, 3 deletions
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/