summaryrefslogtreecommitdiff
path: root/doc/sr/weechat_plugin_api.sr.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sr/weechat_plugin_api.sr.adoc')
-rw-r--r--doc/sr/weechat_plugin_api.sr.adoc18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc
index 5a6c71624..4eec73132 100644
--- a/doc/sr/weechat_plugin_api.sr.adoc
+++ b/doc/sr/weechat_plugin_api.sr.adoc
@@ -2566,21 +2566,27 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+4+` +
`+14+`
-| `+${re:N}+` +
+// TRANSLATION MISSING
+| `+${re:xxx}+` +
_(WeeChat ≥ 1.1)_ |
- Ухваћена група у регуларном изразу: `0` = комплетан подударени стринг, `1` до `99` = ухваћена
- група, `+++` = последња ухваћена група,
- `#` = индекс последње ухваћене групе _(WeeChat ≥ 1.8)_. |
+ Regex data: +
+ `0` = whole string matching, +
+ `1` to `99` = group captured, +
+ `+++` = last group captured, +
+ `#` = index of last group captured _(WeeChat ≥ 1.8)_, +
+ `repl_index` = index of replacement being done (starts to 1) _(WeeChat ≥ 3.3)_. |
`+${re:0}+` +
`+${re:1}+` +
`+${re:2}+` +
`+${re:+}+` +
- `+${re:#}+` |
+ `+${re:#}+` +
+ `+${re:repl_index}+` |
`+test1 test2+` +
`+test1+` +
`+test2+` +
`+test2+` +
- `+2+`
+ `+2+` +
+ `+1+`
| `+${color:име}+` +
_(WeeChat ≥ 0.4.2)_ |