diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-02-06 23:12:30 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2023-02-08 14:47:02 +0800 |
commit | 51c1488ef60e095034b2f8cd57b69f58f59d7145 (patch) | |
tree | 4614851b75453a354463786a6b0181038871e37d /doc | |
parent | d29224452a302ebfbd6701ebc99a907b760d995d (diff) | |
download | fork-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.1 | 6 | ||||
-rw-r--r-- | doc/ledger3.texi | 2 |
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 |