Changing perl script bnews-fetch from by Carl Declerck

Discussion in 'Perl Misc' started by borniac, Apr 18, 2004.

  1. borniac

    borniac Guest

    The problemm I have is that not al the post posted with yEnc are
    retrieved with that script. Is there somebody that uses this and has
    the same problem and can you help to change it.

    This is the code in that perl script for look thing posted with yEnc up.

    } elsif ($subject =~ /^(.*\s+yEnc)\s+"([^"]+)"\s+\((\d+)\/(\d+)\)/
    || $subject =~ /^(.*)\s+"([^"]+)"\s+yEnc\s+\((\d+)\/(\d+)\)/
    || $subject =~ /^(.*)\s+"([^"]+)"\s+\((\d+)\/(\d+)\).*yEnc/
    || $subject =~ /^(.*)\s+"([^"]+)"\s+\d+\s+yEnc\s+bytes/) {

    en this I have now.

    } elsif ($subject =~ /^(.*\s+yEnc)\s+"([^"]+)"\s+\((\d+)\/(\d+)\)/
    || $subject =~ /^(.*)\s+"([^"]+)"\s+yEnc\s+\((\d+)\/(\d+)\)/
    || $subject =~ /^(.*)\s+"([^"]+)"\s+\((\d+)\/(\d+)\).*yEnc/
    || $subject =~ /^(.*)\s+"([^"]+)"\s+\d+\s+yEnc\s+bytes/
    || $subject =~ /^(.*)\s+([^"]+)\s+yEnc\s+\((\d+)\/(\d+)\)/
    || $subject =~ /^(.*\yEnc)\s+"([^"]+)"\s+\((\d+)\/(\d+)\)/) {


    but still doesn't see everything

    Thanks
    Borniac
    borniac, Apr 18, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. scriptsDel

    Attn: Carl Prothman [MVP]

    scriptsDel, Aug 13, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    359
    Carl Prothman [MVP]
    Aug 13, 2003
  2. ScriptsDelm

    Attn: Carl Prothman [MVP]

    ScriptsDelm, Aug 13, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    286
    ScriptsDelm
    Aug 13, 2003
  3. Carl
    Replies:
    1
    Views:
    315
    Robert Kern
    Nov 28, 2005
  4. Carl

    f2py and common blocks /Carl

    Carl, Jan 1, 2006, in forum: Python
    Replies:
    1
    Views:
    581
    Dennis Lee Bieber
    Jan 1, 2006
  5. Replies:
    4
    Views:
    178
    Josef Moellers
    Oct 27, 2007
Loading...

Share This Page