🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60832

Re: Reminder to filter misplaced yEnc with other binaries

#60832
From: Russ Allbery
Date: Mon, 30 Sep 2002 16:48
20 lines
1796 bytes
Francois Petillon <fantec@proxad.net> writes:

> I have lightly modified the regexp and my version of perl seems to
> prefer it :
>     if ($hdr{__BODY__} =~ /(?:^|\n)=ybegin (.+)$/m) {

> instead of 
>     if ($hdr{__BODY__} =~ /^=ybegin (.+)$/mox) {

> in is_binary.

That indicates that the /m regex modifier isn't working correctly.  I
don't know why that would be.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl65wn1l19.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <ylu1k8my0e.fsf@windlord.stanford.edu> <3D977334.A5AAF0BC@proxad.net> <ylznu0lbau.fsf@windlord.stanford.edu> <3d98546c$0$238$626a54ce@news.free.fr> <an9m55$29s$1@wonderland.linux.it> <3d986824$0$452$626a54ce@news.free.fr>

Show Full Headers
Complete Article Headers
Message-ID: <yl65wn1l19.fsf@windlord.stanford.edu>
Subject: Re: Reminder to filter misplaced yEnc with other binaries
Date: Mon, 30 Sep 2002 09:48:02 -0700
From: Russ Allbery <rra@stanford.edu>
References: <ylu1k8my0e.fsf@windlord.stanford.edu> <3D977334.A5AAF0BC@proxad.net> <ylznu0lbau.fsf@windlord.stanford.edu> <3d98546c$0$238$626a54ce@news.free.fr> <an9m55$29s$1@wonderland.linux.it> <3d986824$0$452$626a54ce@news.free.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 19
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1033404482 4354 171.64.13.23 (30 Sep 2002 16:48:02 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:4+dOzg2pFCG+c+olXEqaPL9ko08=