From: Jeremy Harris Date: Thu, 14 Sep 2023 17:46:15 +0000 (+0100) Subject: Docs: note that the match_ip condition sets $value X-Git-Tag: exim-4.97-RC1~6 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/0c66b42d11434a92b451c058ca0ecd1c0e12fdc6 Docs: note that the match_ip condition sets $value --- 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"