To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 6061
    Re: Lost Instructions —Todd Lehman
   (...) Hmm. Looking for the presence of something like -----Original Message----- (added by some many odd mailers) might get part of the way there in detecting a reply, but then that would also get false positives where someone was forwarding (...) (25 years ago, 13-Apr-00, to lugnet.admin.general)
   
        Re: Lost Instructions —Todd Lehman
     (...) Oops -- doy -- that should be a square closing bracket -- m/^[Rr][Ee]:\s*/ --Todd (...) (25 years ago, 13-Apr-00, to lugnet.admin.general)
    
         Re: Lost Instructions —Dan Boger
     (...) m/^Re:\s+/i ? Dan (25 years ago, 13-Apr-00, to lugnet.admin.general)
    
         Re: Lost Instructions —Todd Lehman
     (...) Ya, that oughtta work too. :) Say, I just remembered one thing from cc:Mail -- it puts (or used to -- not sure if it's still the case today) the reply depth count in square brackets between "Re" and ":", i.e.: Re: blah blah blah Re[2]: blah (...) (25 years ago, 13-Apr-00, to lugnet.admin.general)
    
         Re: Lost Instructions —Dan Boger
     (...) just for efficiancy's sake, you shouldn't put a /s* at the end - it's not doing anything at all, is it? if there's anything that matches the /s class, it'll just take longer to complete the match, but if there's no /s at the end, it'll still (...) (25 years ago, 13-Apr-00, to lugnet.admin.general)
    
         Re: Lost Instructions —Todd Lehman
     (...) True -- the \s* isn't doing anything in that case. The regex could be considered a shorter form of ($subject_base) = ($subject_raw =~ m/^(Re(?:\[\d+\]):\s...?(.*)$/i); in which the \s* is actually needed. I left it on in the example way above (...) (25 years ago, 13-Apr-00, to lugnet.admin.general)
   
        Re: Lost Instructions —Dan Boger
   (...) but what do you do if it is broken? reject it? that's not so friendly - basicly you're saying that you're not allowing people to use eudora with the mail interface... :/ dunno what you can do though - no really good way of know what the (...) (25 years ago, 13-Apr-00, to lugnet.admin.general)
   
        Re: Lost Instructions —Todd Lehman
   (...) Yes! (...) How friendly is it for someone to post using a broken client which can't even get the headers correct? There are hundreds of non-broken clients to use. (...) This wouldn't catch the Eudora bug -- which omits the last message-ID in (...) (25 years ago, 13-Apr-00, to lugnet.admin.general)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR