Re: [exim] How to see matched string?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] How to see matched string?
On 10/12/2021 20:45, MRob via Exim-users wrote:
> warn condition = ${if match{$h_Subject:}{\N(foo(bar))\N}}
>
> How can see the matched subgroups?


warn    set acl_m_mymatchedstring = ${if match{$h_Subject:}{\N(foo(bar))\N} {$1}}
    condition = ${if def:acl_m_mymatchedstring}
    logwrite = WOW <$acl_m_mymatchedstring>
-- 
Cheers,
   Jeremy