Re: [Exim] Re: Grouping allowed in system filter pcre?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Derrick 'dman' Hudson
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Re: Grouping allowed in system filter pcre?
On Fri, 16 Aug 2002, Derrick 'dman' Hudson wrote:

> How about using single qoutes for string literals (no escapes, no
> variable expansion) and keeping double-quotes as-is? Some other
> systems (notably shell and perl) use this single vs double qoute
> semantics.


Well, yes, this was the suggestion. My worry is that it might break
existing configurations. I know this isn't too likely, but it's
certainly possible. Consider

if $h_subject: matches 'foo' then ...

At present, that will look for the literal string "'foo'", including the
single quotes.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.