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


Groups > comp.lang.python > #13314

Re: help regarding re.search

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'output': 0.10; 'am,': 0.12; 'wrote:': 0.16; 'working.': 0.18; 'subject:help': 0.22; 'header :In-Reply-To:1': 0.22; 'skip:" 30': 0.28; 'print': 0.29; 'example': 0.30; 'propose': 0.32; 'to:addr:python-list': 0.33; 'header:User-Agent:1': 0.34; 'header:X-Complaints-To:1': 0.35; 'received:org': 0.38; 'some': 0.38; 'subject:: ': 0.39; 'help': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'might': 0.40; 'order': 0.62; 'show': 0.67; 'special': 0.67
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Gelonida N <gelonida@gmail.com>
Subject Re: help regarding re.search
Date Thu, 15 Sep 2011 11:05:53 +0200
References <CAP8kui=Nqo6bDQh-SA-t+KMFs=NrgYYFmnsw6wXATJ8-aTxmZQ@mail.gmail.com> <CAMZYqRR5UqHhdKiyLsZqE8DouXDWvFOsUw8OCYfjZ0E9f8iEBg@mail.gmail.com> <CAP8kuinJnPv=6U1J6LYZgGk_yUN6PskvHStCo1kEMHUBG1NkuQ@mail.gmail.com> <CAMZYqRSiHY3Cz=r=oAioNCUUEz=L1fW4ngLc4xCyPwwpU9mM2A@mail.gmail.com> <CAP8kuik0Aq0gc5NvYPU__k96QiSc0uj+nbAezsx685TGzb2o3w@mail.gmail.com> <CAPTjJmrmSJbQqAaQfdZmcuxZYbQLTXoYqz9YewP4pj0P5RZfeA@mail.gmail.com> <CAP8kuikr9p_6yv_UkjFbMtUAzaA=nVUe_FOWuC63rSXL_Zx2=w@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host unicorn.dungeon.de
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 ""
In-Reply-To <CAP8kuikr9p_6yv_UkjFbMtUAzaA=nVUe_FOWuC63rSXL_Zx2=w@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.1157.1316077570.27778.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1316077570 news.xs4all.nl 2405 [2001:888:2000:d::a6]:44648
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:13314

Show key headers only | View raw


Hi Sagar,

In order to be able to help you I propose following:

On 09/15/2011 06:54 AM, Sagar Neve wrote:
. . .
>                     print "hello..Man_Param=%s,Opt_Param1=%s,
> Opt_Param2=%s\n" %(Man_Param,Opt_Param1,Opt_Param2)

Change above line into

>                     print "hello..Man_Param=%r,Opt_Param1=%r,
> Opt_Param2=%r\n" %(Man_Param,Opt_Param1,Opt_Param2)


and show us the output of an example which is NOT working.

printing with '%r" might help to show some 'hidden special characters'






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


Thread

Re: help regarding re.search Gelonida N <gelonida@gmail.com> - 2011-09-15 11:05 +0200

csiph-web