Article View: news.software.nntp
Article #66194Re: innreport error
From: Russ Allbery
Date: Thu, 17 Jul 2003 20:12
Date: Thu, 17 Jul 2003 20:12
31 lines
2261 bytes
2261 bytes
Steve <steve@nospam-goofer.co.uk> writes:
> Russ Allbery wrote:
>> #!/usr/bin/perl
>>
>> $line = 'section default {';
>> $line =~ s/^( # at the beginning
>> [{};] # match '{', '}', or ';'
>> | # OR
>> \" # a double quoted string
>> (?:\\.|[^\"\\])*
>> \"
>> | # OR
>> [^{};\"\s]+ # a word
>> )\s*//mox;
>> print "$line\n", "$1\n";
>>
> Russ,
> default {
> section
Okay, so that Perl code actually works. That makes me think that
something else strange is going on.
--
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:
<87he5khpyv.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<bf3jb2$j5s$1@bananasplit.info> <bf5rrq$opb$1@bananasplit.info> <87lluxjgpe.fsf@windlord.stanford.edu> <bf6jhr$62c$1@bananasplit.info> <bf6m2i$l0i$1@puck.litech.org> <8765m1jbmy.fsf@windlord.stanford.edu> <bf6rat$841$1@bananasplit.info> <87isq1hrmf.fsf@windlord.stanford.edu> <bf6v64$95r$1@bananasplit.info>Show Full Headers
Complete Article Headers
Message-ID: <87he5khpyv.fsf@windlord.stanford.edu> Subject: Re: innreport error Date: Thu, 17 Jul 2003 13:12:56 -0700 From: Russ Allbery <rra@stanford.edu> References: <bf3jb2$j5s$1@bananasplit.info> <bf5rrq$opb$1@bananasplit.info> <87lluxjgpe.fsf@windlord.stanford.edu> <bf6jhr$62c$1@bananasplit.info> <bf6m2i$l0i$1@puck.litech.org> <8765m1jbmy.fsf@windlord.stanford.edu> <bf6rat$841$1@bananasplit.info> <87isq1hrmf.fsf@windlord.stanford.edu> <bf6v64$95r$1@bananasplit.info> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 31 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1058472776 13893 171.64.19.147 (17 Jul 2003 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:1hWvQOHUbxOUKZJqg89g1Pjsuf8=