Re: PCRE Conditional Canonical Address Mapping

2009-03-13 Thread Wietse Venema
Yves Kreis: > On 11.03.2009, at 11:49, Wietse Venema wrote: > > > Yves Kreis: > >> Dear, > >> > >> Can I use a canonical map like: > >> if /^To: u...@domain\.com$/ > >> /^From: (".*" )*(.+)@(.+)$/ From: ${1}${2}+$...@anotherdomain.com > >> endif > > > > Dear Yves, please RTFM the pcre_table manpag

Re: PCRE Conditional Canonical Address Mapping

2009-03-13 Thread Yves Kreis
On 11.03.2009, at 11:49, Wietse Venema wrote: Yves Kreis: Dear, Can I use a canonical map like: if /^To: u...@domain\.com$/ /^From: (".*" )*(.+)@(.+)$/ From: ${1}${2}+$...@anotherdomain.com endif Dear Yves, please RTFM the pcre_table manpage. if /pattern/flags endif Match the

Re: PCRE Conditional Canonical Address Mapping

2009-03-11 Thread Yves Kreis
On 11.03.2009, at 11:49, Wietse Venema wrote: Yves Kreis: Dear, Can I use a canonical map like: if /^To: u...@domain\.com$/ /^From: (".*" )*(.+)@(.+)$/ From: ${1}${2}+$...@anotherdomain.com endif Dear Yves, please RTFM the pcre_table manpage. if /pattern/flags endif Match the

Re: PCRE Conditional Canonical Address Mapping

2009-03-11 Thread Wietse Venema
Yves Kreis: > Dear, > > Can I use a canonical map like: > if /^To: u...@domain\.com$/ > /^From: (".*" )*(.+)@(.+)$/ From: ${1}${2}+$...@anotherdomain.com > endif Dear Yves, please RTFM the pcre_table manpage. if /pattern/flags endif Match the input string against the patterns