[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: doc: Clarify substitute* docstring with an example.
From: |
guix-commits |
Subject: |
03/12: doc: Clarify substitute* docstring with an example. |
Date: |
Thu, 11 May 2023 10:39:25 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 199218e372f490ae8158bac99d3a434557ef1bec
Author: Gabriel Wicki <gabriel@erlikon.ch>
AuthorDate: Thu Apr 13 10:31:57 2023 +0200
doc: Clarify substitute* docstring with an example.
* doc/guix.texi (Build Utilities): Update the corresponding passage.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
doc/guix.texi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 2871fb9957..31ebcf9db4 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10379,7 +10379,9 @@ Alternatively, @var{file} may be a list of file names,
in which case
they are all subject to the substitutions.
Be careful about using @code{$} to match the end of a line; by itself it
-won't match the terminating newline of a line.
+won't match the terminating newline of a line. For example, to match a
+whole line ending with a backslash, one needs a regex like
+@code{"(.*)\\\\\n$"}.
@end defmac
@subsection File Search
- branch master updated (ef0aa7ff8b -> 1e4c45b0dc), guix-commits, 2023/05/11
- 02/12: services: dhcp-client-configuration: Add 'shepherd-requirement' field., guix-commits, 2023/05/11
- 01/12: gnu: home: services: fontutils: Add support for SXML fragments., guix-commits, 2023/05/11
- 10/12: services: Add vnstat-service-type., guix-commits, 2023/05/11
- 08/12: gnu: barrier: Include NULL compatibility., guix-commits, 2023/05/11
- 07/12: gnu: git: Update to 2.40.1 [security fixes]., guix-commits, 2023/05/11
- 09/12: doc: Update dicod-configuration example, guix-commits, 2023/05/11
- 05/12: gnu: laby: Make laby function in pure environments., guix-commits, 2023/05/11
- 12/12: tests: Add vnstat tests., guix-commits, 2023/05/11
- 03/12: doc: Clarify substitute* docstring with an example.,
guix-commits <=
- 06/12: gnu: laby: Add patch for being able to execute game code., guix-commits, 2023/05/11
- 04/12: gnu: laby: Use new package style., guix-commits, 2023/05/11
- 11/12: services: inetd: Export accessors., guix-commits, 2023/05/11