[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix Regular Expressions



Craig Sanders wrote:
> 
> correct.
> 
> \s and \t (and \d, \w, \b, and many others) are pcre (perl-compatible
> regular expressions) which are an extension of standard regexps.
> 
> > If the map is a regexp style map, then you just use a tab instead of
> > \t.
> 
> yep,  and use "[[:space:]]" instead of "\s"  - that matches spaces &
> tabs, just like \s does.

For pcre style expressions how would you represent the perl pattern
/\s{15,}[a-zA-Z0-9]{2,8}$/? Is it exactly the same in pcre as it is in
perl? How would you represent this in regexp style (for immediate spam
rejection patterns)?


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: