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

[leafnode-list] Re: Pattern for only_groups_pcre (Leafnode 1).



On 2007-09-20, Matthias Andree wrote:

> Am Donnerstag, den 06.09.2007, 13:54 +0100 schrieb Adam Funk:
>> For suppressing binary groups, I started with Matthias's suggestion
>> 
>>    only_groups_pcre = ^\w+(\.\w+(?<!binaries|binary))*$
>> 
>> from http://article.gmane.org/gmane.network.leafnode/2323 but noticed
>> that all the groups with "-" and "+" in the names disappeared,
>
> Sorry for that. 

No problem!

>>  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.)

-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/