summaryrefslogtreecommitdiff
path: root/doc/it/weechat_user.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-08-16 22:47:47 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-08-16 22:47:47 +0200
commit9105c3ba1f988c2d0103318c827f5bbd7ecbadd5 (patch)
tree1e900f03397c6463980a0f10966577306a602207 /doc/it/weechat_user.it.adoc
parent1a0087a7d7b06b6c63653936127c4f542fc9b5b9 (diff)
downloadweechat-9105c3ba1f988c2d0103318c827f5bbd7ecbadd5.zip
trigger: allow creation of temporary variables with the regex
Diffstat (limited to 'doc/it/weechat_user.it.adoc')
-rw-r--r--doc/it/weechat_user.it.adoc7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index 3d842ebc9..62952150e 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -3971,7 +3971,12 @@ ${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})
The regular expression is used to change variables in callback hashtable.
The format is: "/regex/replace" or "/regex/replace/var" (where _var_ is a
-variable of the hashtable). +
+variable of the hashtable).
+
+// TRANSLATION MISSING
+If _var_ does not exist in the hashtable, it is created automatically with an
+empty value. This allows to create custom temporary variables.
+
If _var_ is not specified, the default variable is used, it depends on hook
type: