[exim] Is there any easier way to write/express something li…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Robert Nicholson
Päiväys:  
Vastaanottaja: exim-user
Aihe: [exim] Is there any easier way to write/express something like this?
These regex's get a bit unwieldy ... can this be data driven thru a
file or can this regex be written/formatted so that it's more readable?

if foranyaddress $header_to:,$header_cc: ( $thisaddress matches ^robert
\@elastic
a.com\$ ) and ( $header_content-type: does not match "\\s*=\\?
(ks_c_5601-|big5|e
uc-|shift-jis|(iso.\{0,4\}639-)|hkscs|sil|koi[78]|iscii|guobiao|gb2312|
gb18030|(
iso.\{0,4\}2022)|(iso.\{0,4\}8859-[57])|(windows-1251)|
(windows-1255))" or $head
er_subject: does not match "\\s*=\\?(ks_c_5601-|big5|euc-|shift-jis|
(iso.\{0,4\}
639-)|hkscs|sil|koi[78]|iscii|guobiao|gb2312|gb18030|(iso.\{0,4\}2022)|
(iso.\{0,
4\}8859-[57])|(windows-1255))" )