Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] unexpected void backreference

2008-06-05 by Benoit Branciard

Oliver Fromme a \ufffdcrit :
> I'm afraid I can't explain the message.  But FWIW, I use
> a slightly different regex for that kind of things:
> 
> /.*[@.]example\.com/
> 

I don't understand why many people (several examples were posted on this 
list) insist on using regexps with ".*" at the beginning or the end of 
the expression... Without begin and/or end delimiters (^ and $), this is 
totally unnecessary; you could as well write /[@.]example\.com/.

Or if you really care to match the domain suffix part and not any 
substring, you'd better write: /[@.]example\.com[> ]*$/


-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.