From 51c1488ef60e095034b2f8cd57b69f58f59d7145 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 6 Feb 2023 23:12:30 +0100 Subject: docs: Specify regex dialect used by ledger Closes #2145 --- doc/ledger.1 | 6 +++--- doc/ledger3.texi | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3