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 between if and endif, IF AND ONLY IF THAT SAME INPUT STRING ALSO MATCHES PAT- TERN. The if..endif can nest.