From 9105c3ba1f988c2d0103318c827f5bbd7ecbadd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 16 Aug 2018 22:47:47 +0200 Subject: trigger: allow creation of temporary variables with the regex --- doc/it/weechat_user.it.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/it') 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: -- cgit v1.2.3