Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news1.tnib.de!feed.news.tnib.de!news.tnib.de!feed.cnntp.org!news.cnntp.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: comp.lang.lisp,comp.lang.python,comp.lang.perl.misc,comp.lang.ruby,comp.lang.scheme Subject: Re: a little parsing challenge =?utf-8?Q?=E2=98=BA?= References: <36037253-086b-4467-a1db-9492d3772e78@r5g2000prf.googlegroups.com> <99245842-e205-4a34-8f9d-c64d41e044b6@j9g2000prj.googlegroups.com> <87f46fe8-5d1d-4ed0-b6e3-87c5f9262c38@t38g2000prj.googlegroups.com> <02e81438-f03a-491f-a105-bc758ebfce83@z7g2000prh.googlegroups.com> <87k4bcq5h2.fsf@quad.sysarch.com> x-mayan-date: Long count = 12.19.18.10.0; tzolkin = 4 Ahau; haab = 8 Xul Date: Wed, 20 Jul 2011 12:06:18 -0700 Message-ID: <86zkk822mt.fsf@red.stonehenge.com> Organization: Stonehenge Consulting Services; Portland, Oregon, USA User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) Cancel-Lock: sha1:Hw6CdRMtr8hVXAsBebJBSb9ZCQQ= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 19 NNTP-Posting-Host: 4de67976.read.cnntp.org X-Trace: DXC=TCgfE3=5anG?ZNgFG`EG\IWoT\PAgXa?A97U3`^G`ATOKD5N8FP4c=K\;JR>B X-Complaints-To: abuse@cnntp.org Xref: x330-a1.tempe.blueboxinc.net comp.lang.lisp:4842 comp.lang.python:9989 comp.lang.perl.misc:2407 comp.lang.ruby:6160 comp.lang.scheme:379 >>>>> "Uri" == Uri Guttman writes: Uri> a better parsing challenge. how can you parse usenet to keep this troll Uri> from posting on the wrong groups on usenet? first one to do so, wins the Uri> praise of his peers. 2nd one to do it makes sure the filter stays in Uri> place. all the rest will be rewarded by not seeing the troll anymore. Uri> anyone who actually engages in a thread with the troll should parse Uri> themselves out of existance. Since the newsgroups: line is not supposed to have spaces in it, that makes both his post and your post invalid. Hence, filter on invalid posts. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion