RegEx in whitelist
Sam Przyswa
samp at arial-concept.com
Fri Jun 23 17:15:52 IST 2006
Julian Field a écrit :
>
> On 23 Jun 2006, at 16:42, Sam Przyswa wrote:
>
>> shuttlebox a écrit :
>>
>>> On 6/23/06, Sam Przyswa <samp at arial-concept.com> wrote:
>>>
>>>> What is the right way accept all the smtp*-g*.free.fr machine ?
>>>
>>>
>>>
>>> This should work:
>>>
>>> smtp.*-g.*\.free\.fr
>>>
>>> It can be done many ways.
>>
>>
>>
>> In fact a pure RegEx work as:
>>
>> From: smtp[\d]+-g[\d]+\.free\.fr yes
>>
>> Sure ?
>
>
> You should surround the regexp with "/" so that MailScanner
> recognises it properly and does not try to compile it into a regexp
> again. So use
Argh !!!
> From: /smtp\d+-g\d+\.free\.fr/ yes
Big THANKS !
> instead. Your square brackets are completely superfluous.
Nice, I test it with Kregexpeditor...
Thanks again.
Sam.
--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
More information about the MailScanner
mailing list