On Wed, 20 Jul 2005, Ian Eiloart wrote: > > > if $message_headers does not contain "xxxx:" then ... > > Ooh, isn't this going to generate a number of false positives? Should we not > match on the start of the line? Can we say this?: > > if $message_headers matches "^xxxx: "
If xxxx is pretty unique, the false positive risk is low. You would have to say "(?m)^xxxx:" to enable "multiline mode" if you want to be pedantic. Or use "\\N(^|\\n)xxxx:". -- Philip Hazel University of Cambridge Computing Service, [EMAIL PROTECTED] Cambridge, England. Phone: +44 1223 334714. Get the Exim 4 book: http://www.uit.co.uk/exim-book -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
