From 0c66b42d11434a92b451c058ca0ecd1c0e12fdc6 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 14 Sep 2023 18:46:15 +0100 Subject: [PATCH] Docs: note that the match_ip condition sets $value --- doc/doc-docbook/spec.xfpt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 6ff06f3a4..13991d5cd 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -12088,6 +12088,10 @@ Exim was built with the EXPAND_LISTMATCH_RHS option. Consult section &<>& for further details of these patterns. +The variable &$value$& will be set for a successful match and can be +used in the success clause of an &%if%& expansion item using the condition. +Any previous &$value$& is restored after the if. + .vitem &*match_local_part&~{*&<&'string1'&>&*}{*&<&'string2'&>&*}*& .cindex "domain list" "in expansion condition" .cindex "address list" "in expansion condition" -- 2.30.2