summaryrefslogtreecommitdiff
path: root/doc/fr
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-21 20:47:29 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:14:06 +0100
commitc724032a220790cd3a62154e8b482ff08af21abc (patch)
treedefbd351d2f46f9aa64d89c63eff1b769123a681 /doc/fr
parent2ee65dd1ff359404b307f1452ef0610169dfb336 (diff)
downloadweechat-c724032a220790cd3a62154e8b482ff08af21abc.zip
core: make function gui_buffer_match_list case sensitive (issue #1872)
Diffstat (limited to 'doc/fr')
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 33feac522..5821c0599 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -14395,7 +14395,7 @@ str = weechat.buffer_string_replace_local_var(my_buffer, "test avec $toto")
==== buffer_match_list
-_WeeChat ≥ 0.3.5._
+_WeeChat ≥ 0.3.5, mis à jour dans la 3.9._
Vérifier si le tampon correspond à la liste de tampons.
@@ -14414,6 +14414,9 @@ Paramètres :
** un nom commençant par `+!+` est exclu
** le caractère joker `+*+` est autorisé dans le nom
+[NOTE]
+Depuis la version 3.9, la comparaison des noms de tampons est sensible à la casse.
+
Valeur de retour :
* 1 si le tampon correspond à la liste de tampons, 0 sinon
@@ -14427,7 +14430,7 @@ if (buffer)
{
weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "*")); /* 1 */
weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "*,!*#weechat*")); /* 0 */
- weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "irc.libera.*")); /* 1 */
+ weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "irc.libera.*")); /* 1 */
weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "irc.oftc.*,python.*")); /* 0 */
}
----
@@ -14444,7 +14447,7 @@ buffer = weechat.buffer_search("irc", "libera.#weechat")
if buffer:
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "*")) # 1
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "*,!*#weechat*")) # 0
- weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.libera.*")) # 1
+ weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.libera.*")) # 1
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.oftc.*,python.*")) # 0
----