… | |
… | |
482 | # of some subject lines not detected properly by uulib: |
482 | # of some subject lines not detected properly by uulib: |
483 | SetFileNameCallback sub { |
483 | SetFileNameCallback sub { |
484 | return unless $_[1]; # skip "Re:"-plies et al. |
484 | return unless $_[1]; # skip "Re:"-plies et al. |
485 | local $_ = $_[0]; |
485 | local $_ = $_[0]; |
486 | |
486 | |
487 | return $1 if /(\S+\s+IMG_\d+.jpg)/i; |
|
|
488 | |
|
|
489 | # the following rules are rather effective on some newsgroups, |
487 | # the following rules are rather effective on some newsgroups, |
490 | # like alt.binaries.games.anime, where non-mime, uuencoded data |
488 | # like alt.binaries.games.anime, where non-mime, uuencoded data |
491 | # is very common |
489 | # is very common |
492 | |
490 | |
493 | # if we find some *.rar, take it as the filename |
491 | # if we find some *.rar, take it as the filename |