Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.043 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; '-tkc': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'simplifies': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'initial': 0.24; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'problem': 0.35; "can't": 0.35; 'something': 0.35; 'charset:us-ascii': 0.36; 'received:10': 0.37; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'more': 0.64 X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|tim@thechases.com X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1416966100016:3762193386 X-MC-Ingress-Time: 1416966100016 Date: Tue, 25 Nov 2014 19:44:14 -0600 From: Tim Chase To: python-list@python.org Subject: Re: Quotation Ugliness In-Reply-To: <54752AF9.70906@tundraware.com> References: <54752AF9.70906@tundraware.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: tim@thechases.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416966502 news.xs4all.nl 2921 [2001:888:2000:d::a6]:37938 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 2917 X-Received-Body-CRC: 2911453339 Xref: csiph.com comp.lang.python:81539 On 2014-11-25 19:20, Tim Daneliuk wrote: > > hen you find any opener, you seek its > corresponding closer, and then special-case /* to count any > additional /* and look for a */ for each one */ . > > That's more or less where I was headed. I just wanted something > less brute force :) This seems to directly conflict with your initial request that > These may be nested. If they can't be nested, then it simplifies the problem immensely. -tkc