Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] scenari tules not working anymore
- From: Riccardo Veraldi <address@concealed>
- To: Steve Shipway <address@concealed>, "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] scenari tules not working anymore
- Date: Mon, 2 Nov 2015 18:20:06 +0100
On 01/11/15 21:50, Steve Shipway wrote:
it worked perfectly on 6.1.7ApparentlyDid this ever work? I thought that the equal() test is for string equality,
equal([sender], '^.*@oracle.com') smtp,smime,md5 -> do_it
is not working anymore
not a regexp match, for which you use match(). We're on 6.1 but do not use
equal() with a regexp.
on 6.2 I am now using match() but on 6.1 equal() with regexp was working.
thank you
Rick
The 6.1 manual says the same as in 6.2:
<condition> ::= [!] <condition
| true ()
| equal (<var>, <var>)
| less_than (<var>, <var>)
| match (<var>, /perl_regexp/)
... which seems to me to say that equal() will not take a regexp, only a
constant or a variable.
Incidentally, always remember to anchor your regexps, else you might
accidentally match "address@concealed"
Steve
Steve Shipway
T: +64 9 3737 599 ext 86487
E: address@concealed
-
RE: [sympa-users] scenari tules not working anymore,
Steve Shipway, 11/01/2015
- Re: [sympa-users] scenari tules not working anymore, Riccardo Veraldi, 11/02/2015
Archive powered by MHonArc 2.6.19+.