Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:parsing': 0.09; 'am,': 0.13; 'wrote:': 0.15; '11:12': 0.16; 'billy': 0.16; 'row': 0.16; 'shot.': 0.16; 'uh,': 0.16; 'mon,': 0.16; 'column': 0.22; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'index': 0.25; 'message-id:@mail.gmail.com': 0.28; 'script': 0.29; 'unicode': 0.29; 'to:addr:python-list': 0.34; 'received:google.com': 0.38; 'received:209.85.161': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'your': 0.60; 'subjectcharset:utf-8': 0.72; 'misses': 0.84; 'subject:little': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=ysuo13IkehKtJuPKCb4Y+ZhH4Ek5+6IH1RuDhgM1K18=; b=kwvVOeGSCYX7yD2RdKpv003qgGthfaS83MwmQ9IUtk0Bjz13IUPZ24T7owNnAe5BO/ dH5fQ7yJMZbEsoJS3+zqawjz0LO3TRA4iZBQfTVIv338OHRQ289uyMy3o+WJ2UBiRMeN 8IJLq+Lr2GDMvVc4fCvLYFdDlcHjgGeBWOtLM= MIME-Version: 1.0 In-Reply-To: References: <36037253-086b-4467-a1db-9492d3772e78@r5g2000prf.googlegroups.com> From: Ian Kelly Date: Mon, 18 Jul 2011 12:10:31 -0600 Subject: =?UTF-8?Q?Re=3A_a_little_parsing_challenge_=E2=98=BA?= To: Python Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311012663 news.xs4all.nl 23957 [2001:888:2000:d::a6]:38011 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9821 On Mon, Jul 18, 2011 at 11:12 AM, Billy Mays <81282ed9a88799d21e77957df2d84bd6514d9af6@myhashismyemail.com> wrote: > I gave it a shot. =A0It doesn't do any of the Unicode delims, because let= 's > face it, Unicode is for goobers. Uh, okay... Your script also misses the requirement of outputting the index or row and column of the first mismatched bracket.