[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: Pattern for only_groups_pcre (Leafnode 1).
On 2007-10-05, Matthias Andree wrote:
> On Fr, 2007-09-21 at 21:02 +0100, Adam Funk wrote:
>> >> and
>> >> that I was still getting some binary groups with non-English names, so
>> >> I've arrived at this:
>> >> only_groups_pcre = ^([\+\-\w]+)(\.[\-\w]+(?<!binaries|binary|mp3|warez|binares|binarios|binari))*$
>> >> Does that cover all the characters that can legitimately appear in
>> >> newsgroup names? Any other comments or suggestions?
>> > As far as I see the current usefor draft (for lack of better
>> > documentation), section 3.1.4 in
>> > http://tools.ietf.org/html/draft-ietf-usefor-usefor-12 I'd say that's
>> > sufficient if the exclusion catches all your binary groups, the
>> > newsgroup name can be ALPHA, DIGIT, +, - or _, with . obviously as
>> > component separator.
>> Thanks. Does the pattern look right overall? (As far as I can tell,
>> it works.)
> Well, you can use pcregrep to match the pattern against your active file
> and see what it filters out and what it lets pass. :-)
I've been using it for a while so what's in my active file *is* what
it passes. ;-) And I think it's right.
leafnode-list mailing list