Subject: The mailing list for listmasters using Sympa
List archive
RE: [sympa-users] scenari tules not working anymore
- From: Steve Shipway <address@concealed>
- To: Riccardo Veraldi <address@concealed>, "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] scenari tules not working anymore
- Date: Sun, 1 Nov 2015 20:50:13 +0000
> Apparently
> equal([sender], '^.*@oracle.com') smtp,smime,md5 -> do_it
> is not working anymore
Did this ever work? I thought that the equal() test is for string equality,
not a regexp match, for which you use match(). We're on 6.1 but do not use
equal() with a regexp.
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
-
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+.