summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-02-06 23:12:30 +0100
committerMartin Michlmayr <tbm@cyrius.com>2023-02-08 14:47:02 +0800
commit51c1488ef60e095034b2f8cd57b69f58f59d7145 (patch)
tree4614851b75453a354463786a6b0181038871e37d /doc
parentd29224452a302ebfbd6701ebc99a907b760d995d (diff)
downloadfork-ledger-51c1488ef60e095034b2f8cd57b69f58f59d7145.tar.gz
fork-ledger-51c1488ef60e095034b2f8cd57b69f58f59d7145.tar.bz2
fork-ledger-51c1488ef60e095034b2f8cd57b69f58f59d7145.zip
docs: Specify regex dialect used by ledger
Closes #2145
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger.16
-rw-r--r--doc/ledger3.texi2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1
index bb7262c8..89b7181b 100644
--- a/doc/ledger.1
+++ b/doc/ledger.1
@@ -1060,9 +1060,9 @@ query terms with an implicit OR operator between them. The following terms
are accepted:
.Bl -tag -width "term and term"
.It Ar regex
-A bare string is taken as a regular expression matching the full account name.
-Thus, to report the current balance for all assets and liabilities, you would
-use:
+A bare string is taken as a regular expression (PCRE) matching the full account
+name. Thus, to report the current balance for all assets and liabilities, you
+would use:
.Pp
.Dl ledger bal asset liab
.It Ic payee Ar regex Pq Ic \&@ Ns Ar regex
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index dbe82a37..98e4d2ad 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -4264,7 +4264,7 @@ $ ledger balance -f drewr3.dat Income
$ -2,030.00
@end smallexample
-You can use general regular expressions in nearly any place Ledger
+You can use general regular expressions (PCRE) in nearly any place Ledger
needs a string:
@smallexample @c command:EAE389F