Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41033

Re: Regular expression problem

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'say,': 0.05; 'expressions': 0.07; 'method,': 0.07; 'excellent!': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reason.': 0.16; 'subject:Regular': 0.16; 'subject:expression': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'issue.': 0.20; 'sort': 0.21; 'trying': 0.21; 'subject:problem': 0.22; 'least': 0.25; 'header :In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'regular': 0.27; 'chris': 0.28; 'problem.': 0.32; 'getting': 0.33; '11,': 0.33; "aren't": 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'thanks': 0.34; 'faster': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'thank': 0.36; 'one,': 0.37; 'two': 0.37; 'previous': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'solve': 0.62; 'worth': 0.63; 'stuck': 0.65; '2013': 0.84; 'again!': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=lXkb4cVPTVvgOcPKWCLXZ+iQwNOUlKNGOoUxw2Br83M=; b=mnlouTfV6CCMki+DPMz/Nlg+/smuLu3GrvKeIGBJvNpDG4ZC5C987wZ/cakT+oi29X TcMhH8Eg/iHLxaGv802pwhJRuH/d7Oe6EnL97WlzOb0EvWZLtcGhHNSH9uQX6bnJADW4 Cy5/7EjbTBfLwq9xciVExQTsFWcjLYNJ80X0KPI8ikKxbLesspcajdnyjzfgOhpuuX1n a2nwaBkPatzib6FIxXw2szyttK1zjxutkfwpFjHNwbUPuM5BDIzOCDwT+OB2iIsJvIzH rMMNOBF9RusWqrmabjHxoKo5DV0i58uJRznSJhQrpuaJVg7MC39v+uBTaY9bE1gFjKDw bZfg==
MIME-Version 1.0
X-Received by 10.220.223.80 with SMTP id ij16mr2012928vcb.28.1362941834323; Sun, 10 Mar 2013 11:57:14 -0700 (PDT)
In-Reply-To <a5a2bd74-4d7e-45c1-aad2-2f67cf9bd9fe@googlegroups.com>
References <c24ab822-a3f4-4faf-8a6d-2e1fde6552ae@googlegroups.com> <CAPTjJmri_eV3mzG9hvGvuiHd-Kb4uwvgzPypmmhZ83U_jV7AJg@mail.gmail.com> <mailman.3160.1362938932.2939.python-list@python.org> <a5a2bd74-4d7e-45c1-aad2-2f67cf9bd9fe@googlegroups.com>
Date Mon, 11 Mar 2013 05:57:14 +1100
Subject Re: Regular expression problem
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3163.1362941836.2939.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362941836 news.xs4all.nl 6977 [2001:888:2000:d::a6]:42024
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41033

Show key headers only | View raw


On Mon, Mar 11, 2013 at 5:48 AM, mukesh tiwari
<mukeshtiwari.iiitm@gmail.com> wrote:
> Hi Chris
> Thank you! Now I am getting wrong answer so at least program is faster then previous one and I am looking for wrong answer reason. Thanks again!

Excellent! Have fun.

Incidentally, regular expressions aren't the only way to solve this
sort of problem. If you get stuck with one method, it may be worth
trying another one, to see if you can get around the issue.

As they say, now you have two problems...

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Regular expression problem mukesh tiwari <mukeshtiwari.iiitm@gmail.com> - 2013-03-10 10:42 -0700
  Re: Regular expression problem Chris Angelico <rosuav@gmail.com> - 2013-03-11 04:59 +1100
    Re: Regular expression problem mukesh tiwari <mukeshtiwari.iiitm@gmail.com> - 2013-03-10 11:05 -0700
    Re: Regular expression problem mukesh tiwari <mukeshtiwari.iiitm@gmail.com> - 2013-03-10 11:05 -0700
  Re: Regular expression problem Chris Angelico <rosuav@gmail.com> - 2013-03-11 05:08 +1100
    Re: Regular expression problem mukesh tiwari <mukeshtiwari.iiitm@gmail.com> - 2013-03-10 11:48 -0700
      Re: Regular expression problem Chris Angelico <rosuav@gmail.com> - 2013-03-11 05:57 +1100
    Re: Regular expression problem mukesh tiwari <mukeshtiwari.iiitm@gmail.com> - 2013-03-10 11:48 -0700
  Re: Regular expression problem Terry Reedy <tjreedy@udel.edu> - 2013-03-10 22:06 -0400
    Re: Regular expression problem jmfauth <wxjmfauth@gmail.com> - 2013-03-11 02:28 -0700
      Re: Regular expression problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-11 10:19 +0000
      Re: Regular expression problem rusi <rustompmody@gmail.com> - 2013-03-11 06:18 -0700
      On topic, please [Was:Re: Regular expression problem] Ned Deily <nad@acm.org> - 2013-03-11 11:13 -0700
  Re: Regular expression problem Serhiy Storchaka <storchaka@gmail.com> - 2013-03-11 20:30 +0200
  Re: Regular expression problem Terry Reedy <tjreedy@udel.edu> - 2013-03-11 16:23 -0400

csiph-web