Urs Janßen schrieb:
>> Ich bekomme das aber trotzdem zu sehen. Und es gibt keine anderen
>> Regeln, die da greifen.
>
> und wildcard im tinrc ist passend (also auf 1, denn du willst ja
> regex) gesetzt?
Du meinst shift-M und dann 52? Nein, das war auf wildmat gestellt. Jetzt
habe ich es mal auf regex gestellt. Aber, kann es jetzt dann wo anders
klemmen?
> | pcre(3). You will probably want to update your filter
> | file if you use this regularly. NB: Newsgroup names will
> | always be matched using the wildmat notation.
What am I willing to update?!
> chao% cat /tmp/.tin/filter
> group=*
> case=1
> score=kill
> lines=<3
> xref=([^,]+,){3,}
>
> chao% grep '^wildcard' /tmp/.tin/tinrc
> wildcard=1
>
> entsorgt mal eben 4511 article von 6010 in der guppe auf dem server
> den ich zum testen benutzt habe.
>
> ^L
> wenn du das subpattern capturing weglaesst sparst du speicher
> und der match geht auch schneller, und da keine anker vorhanden sind
> reicht auch ein genauer match auf 3 komma:
>
> chao% pcretest -m -t 100000
> PCRE version 7.4 2007-09-21
>
> re> /([^,]+,){3,}/
> Compile time 0.0024 milliseconds
> Memory allocation (code space): 43
> data> soc.culture.indian,alt.fan.jai-maharaj,alt.politics,soc.culture.turkish,soc.culture.pakistan,soc.culture.usa
> Execute time 0.0015 milliseconds
>
> re> /(?:[^,]+,){3,}/
> Compile time 0.0023 milliseconds
> Memory allocation (code space): 37
> data> soc.culture.indian,alt.fan.jai-maharaj,alt.politics,soc.culture.turkish,soc.culture.pakistan,soc.culture.usa
> Execute time 0.0011 milliseconds
>
> re> /(?:[^,]+,){3}/
> Compile time 0.0024 milliseconds
> Memory allocation (code space): 37
> data> soc.culture.indian,alt.fan.jai-maharaj,alt.politics,soc.culture.turkish,soc.culture.pakistan,soc.culture.usa
> Execute time 0.0006 milliseconds
Ähm … ich soll also das letztere nehmen? Und dann wildmat oder regex?!