On 2021-12-10 21:20, Jeremy Harris via Exim-users wrote:
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>
Clever thank you!
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/