summaryrefslogtreecommitdiff
path: root/doc/en
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/en
parent1a0087a7d7b06b6c63653936127c4f542fc9b5b9 (diff)
downloadweechat-9105c3ba1f988c2d0103318c827f5bbd7ecbadd5.zip
trigger: allow creation of temporary variables with the regex
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_user.en.adoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index 38b992d0f..d92df6c8f 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -3711,7 +3711,11 @@ ${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).
+
+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: