diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-21 20:47:29 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:14:06 +0100 |
commit | c724032a220790cd3a62154e8b482ff08af21abc (patch) | |
tree | defbd351d2f46f9aa64d89c63eff1b769123a681 /doc/en/weechat_plugin_api.en.adoc | |
parent | 2ee65dd1ff359404b307f1452ef0610169dfb336 (diff) | |
download | weechat-c724032a220790cd3a62154e8b482ff08af21abc.zip |
core: make function gui_buffer_match_list case sensitive (issue #1872)
Diffstat (limited to 'doc/en/weechat_plugin_api.en.adoc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index d8c23f836..90d463e46 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -14082,7 +14082,7 @@ str = weechat.buffer_string_replace_local_var(my_buffer, "test with $toto") ==== buffer_match_list -_WeeChat ≥ 0.3.5._ +_WeeChat ≥ 0.3.5, updated in 3.9._ Check if buffer matches a list of buffers. @@ -14101,6 +14101,9 @@ Arguments: ** name beginning with `+!+` is excluded ** wildcard `+*+` is allowed in name +[NOTE] +Since version 3.9, comparison of buffer names is case sensitive. + Return value: * 1 if buffer matches list of buffers, 0 otherwise @@ -14114,7 +14117,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 */ } ---- @@ -14131,7 +14134,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 ---- |