diff options
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index d4e1e9630..ec48f67a5 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -2058,9 +2058,18 @@ expanded to last): | `+${re:N}+` | Regex captured group: `0` = whole string matching, `1` to `99` = group - captured, `+++` = last group captured. | - `+${re:1}+` | - `+test+` + captured, `+++` = last group captured, + `#` = index of last group captured (_WeeChat ≥ 1.8_). | + `+${re:0}+` + + `+${re:1}+` + + `+${re:2}+` + + `+${re:+++}+` + + `+${re:#}+` | + `+test1 test2+` + + `+test1+` + + `+test2+` + + `+test2+` + + `+2+` | `+${color:name}+` | WeeChat color code (the name of color has optional attributes), |