From 05c2ceda75ccb5d4616c1b7e950540deaee81879 Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Sun, 16 Jun 2024 17:07:46 +0200 Subject: [PATCH] Update docs to fix linting issues (#930) --- docs/gossfile.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/gossfile.md b/docs/gossfile.md index 0339b99fa..a463c2ceb 100644 --- a/docs/gossfile.md +++ b/docs/gossfile.md @@ -918,12 +918,11 @@ Available functions: `toUpper` : Changes piped input to UPPERCASE - `findStringSubmatch regex string` : Returns map[string]interface{} with the names of the parenthesized subexpressions, like `(?P[a-z])` - + {{ $regexDBrc := "\\'mysql:\\/\\/(?P[a-z0-9]+):(?P[a-z0-9]+)@localhost\\/(?Proundcube_[a-z0-9]+)\\';"}} - + {{ $rcConf := readFile /home/user/roundcube/config.inc.php | findStringSubmatch $regexDBrc }} {{ $UserDBrc := get $rcConf "login" }} {{ $PassDBrc := get $rcConf "password" }} @@ -932,7 +931,7 @@ Available functions: If not exists named parenthesized subexps, returns stringfied array string: {{ $regexDBrc := "\\'mysql:\\/\\/([a-z0-9]+):([a-z0-9]+)@localhost\\/(roundcube_[a-z0-9]+)\\';"}} - + {{ $rcConf := readFile /home/user/roundcube/config.inc.php | findStringSubmatch $regexDBrc }} {{ $UserDBrc := get $rcConf "1" }} {{ $PassDBrc := get $rcConf "2" }} @@ -940,9 +939,6 @@ Available functions: NOTE: stringfied string array begins with "1" ("0" is all the string matched) - - - !!! warning gossfiles containing text/template `{{}}` controls will no longer work with `goss add/autoadd`.