From 947155f3255e58646698abc5682b8a08bb8adeba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 21 Mar 2024 23:04:18 +0100 Subject: doc/user: fix typo in trigger regex replace `${re:+}` --- doc/de/weechat_user.de.adoc | 2 +- doc/en/weechat_user.en.adoc | 2 +- doc/fr/weechat_user.fr.adoc | 2 +- doc/it/weechat_user.it.adoc | 2 +- doc/ja/weechat_user.ja.adoc | 2 +- doc/pl/weechat_user.pl.adoc | 2 +- doc/sr/weechat_user.sr.adoc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 8dca3bd31..fdc1ca1c7 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -5233,7 +5233,7 @@ Zutreffende Gruppen können in _replace_ verwendet werden: * `+${re:0}+` nach `+${re:99}+`: `+${re:0}+` ist die ganze Trefferanzahl, `+${re:1}+` nach `+${re:99}+` sind als Gruppen erfasst. -* `+${re:+}+`: das letzte Treffer (mit der höchsten Zahl) +* `pass:[${re:+}]`: das letzte Treffer (mit der höchsten Zahl) * `+${re:#}+`: index of last group captured * `+${re:repl_index}+`: index of replacement being done (starts to 1) * `+${hide:c,${re:N}}+`: Treffer "N" mit allen Zeichen die durch "c" ersetzt wurden diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index f3654c796..42676946c 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -5126,7 +5126,7 @@ Matching groups can be used in _replace_: * `+${re:0}+` to `+${re:99}+`: `+${re:0}+` is the whole match, `+${re:1}+` to `+${re:99}+` are groups captured -* `+${re:+}+`: the last match (with highest number) +* `pass:[${re:+}]`: the last match (with highest number) * `+${re:#}+`: index of last group captured * `+${re:repl_index}+`: index of replacement being done (starts to 1) * `+${hide:c,${re:N}}+`: match "N" with all chars replaced by "c" diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 7e9513b8f..aa4500c9e 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -5282,7 +5282,7 @@ Les groupes de correspondance peuvent être utilisés dans le _remplacement_ : * `+${re:0}+` à `+${re:99}+` : `+${re:0}+` est la correspondance complète, `+${re:1}+` à `+${re:99}+` sont les groupes capturés -* `+${re:+}+` : la dernière correspondance (avec le numéro le plus élevé) +* `pass:[${re:+}]` : la dernière correspondance (avec le numéro le plus élevé) * `+${re:#}+` : index du dernier groupe capturé * `+${re:repl_index}+` : index du remplacement en cours (démarre à 1) * `+${hide:c,${re:N}}+` : la correspondance "N" avec tous les caractères diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 2faa7e0b6..fecb213e1 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -5528,7 +5528,7 @@ Matching groups can be used in _replace_: * `+${re:0}+` to `+${re:99}+`: `+${re:0}+` is the whole match, `+${re:1}+` to `+${re:99}+` are groups captured -* `+${re:+}+`: the last match (with highest number) +* `pass:[${re:+}]`: the last match (with highest number) * `+${re:#}+`: index of last group captured * `+${re:repl_index}+`: index of replacement being done (starts to 1) * `+${hide:c,${re:N}}+`: match "N" with all chars replaced by "c" diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 0caff2b07..3aa0dd183 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -5366,7 +5366,7 @@ Matching groups can be used in _replace_: * `+${re:0}+` to `+${re:99}+`: `+${re:0}+` is the whole match, `+${re:1}+` to `+${re:99}+` are groups captured -* `+${re:+}+`: the last match (with highest number) +* `pass:[${re:+}]`: the last match (with highest number) * `+${re:#}+`: index of last group captured * `+${re:repl_index}+`: index of replacement being done (starts to 1) * `+${hide:c,${re:N}}+`: match "N" with all chars replaced by "c" diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index 1d2a06403..e568c8bcc 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -5182,7 +5182,7 @@ Dopasowanie grup może być także użyte: * `+${re:0}+` do `+${re:99}+`: `+${re:0}+` to pełne dopasowanie, `+${re:1}+` do `+${re:99}+` to złapane grupy -* `+${re:+}+`: ostatnie dopasowanie (z najwyższym numerem) +* `pass:[${re:+}]`: ostatnie dopasowanie (z najwyższym numerem) * `+${re:#}+`: index of last group captured * `+${re:repl_index}+`: index of replacement being done (starts to 1) * `+${hide:c,${re:N}}+`: dopasuje "N" ze wszystkimi znakami zastąpionymi przez "c" diff --git a/doc/sr/weechat_user.sr.adoc b/doc/sr/weechat_user.sr.adoc index e9e908910..db724a148 100644 --- a/doc/sr/weechat_user.sr.adoc +++ b/doc/sr/weechat_user.sr.adoc @@ -4868,7 +4868,7 @@ s/regex1/replace1/var1 y/abcdef/ABDDEF/var2 * `+${re:0}+` до `+${re:99}+`: `+${re:0}+` је комплетно подударање, `+${re:1}+` до `+${re:99}+` су ухваћене групе -* `+${re:+}+`: последње подударање (под највећим бројем) +* `pass:[${re:+}]`: последње подударање (под највећим бројем) * `+${re:#}+`: индекс последње ухваћене групе * `+${re:repl_index}+`: индекс замене која се врши (почиње од 1) * `+${hide:c,${re:N}}+`: подударање „N” са свим карактерима замењеним са „c” -- cgit v1.2.3