๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Jeff Relf Mon, 24 Nov 2003 04:58
[ Dialog ] Regex's Default Modes .
#138077
Author: Jeff Relf
Date: Mon, 24 Nov 2003 04:58
25 lines
2233 bytes
In another thread I said :  " Unless a message has a body ,
  only the first few characters of the  References  line 
    are available for  ' Apply Scoring '  "

I discovered this bug when I decided to apply
  the same scoring system that I use to check replies to me
    to check the replies to another person .

The only reason I noticed this bug was because 
  I didn't have any bodies for those messages .

This is a  Serious  bug ...  Because ,
  in large newsgroups ,  like Sci.Physics ,
    where I seldom read all of the messages ,
      it fails to score replies to posts .
  ( But only when I  " Apply Scoring "  to bodiless messages )

Speaking of bugs ,  I'm quite convinced that Marcus Mรถnnig
  did not intent for  (?x-g)  to do nothing .

But what I'd really like is 
  the ability to set the  _ Default _  modes :  (?x-g-i) .

So whitespace is ignored ,  greediness is off ,  
  and the regex is case sensitive ...  all by default .
Re: [ Dialog ] Regex's Default Modes .
#138085
Author: Jeff Relf
Date: Mon, 24 Nov 2003 10:23
45 lines
2917 bytes
In another thread I said :  " Unless a message has a body ,
  only the first few characters of the  References  line 
    are available for  ' Apply Scoring '  "

Ok ,  I here is the workaround .

First ,  my favorite servers ,
  News.Individual.NET  and  News.CIS.DFN.DE ,
    have a 160 day retention rate  ( That's 5.25 months )
      so I set all my default purging to 150 days .
        ( Settings  -->  Default Group Options  -->  Purging )

This allows me to handle all my purging via scoring .
  Higher scores are kept 14 days ,  the rest are kept 5 days .

The workaround is to do a  " !retrieve Score %>0 "
  on any messages than need to have 
    the  References  line scored :

[**]
=-2 Age %>14
=+100  From {(?-i)Relf}   
=+99 References {(?-i)Relf>$}
=+98 References {(?-i)Relf>([^>]*>){1}$}
=+97 References {(?-i)Relf>([^>]*>){2}$}
=+96 References {(?-i)Relf>([^>]*>){3}$}
=+95 References {(?-i)Relf>([^>]*>){4}$}
=+50 Message-ID {(?-i)storefull}   
=+49 References {(?-i)storefull[^>]*>$}
=+48 References {(?-i)storefull[^>]*>([^>]*>){1}$}
=+47 References {(?-i)storefull[^>]*>([^>]*>){2}$}
=+46 References {(?-i)storefull[^>]*>([^>]*>){3}$}
=+45 References {(?-i)storefull[^>]*>([^>]*>){4}$}
!retrieve Score %>0
=-2 Age %>5   #  This won't effect anything that
              #     is already  " =+XX "  scored .
!delete Score %=-2
=+10 From {(?-i) Good Guy 1 | Good Guy 2 }
-1 Subject {(?-i)Re:}
=+1 Score %=0   #  Titles without the  " Re: "  get 1 .
+1 Subject {(?-i)Re:}
=-1 From {(?-i) Bozo 1 | Bozo 2 }
=-1 Message-ID {(?-i)mb-m\d\d\.aol\.com}
# Comment 
!markread Score %<0
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads