Re: help regarding re.search

2011-09-15 Thread Sagar Neve
bunch of all. My day is saved. Best Regards, Sagar Neve. On Thu, Sep 15, 2011 at 2:35 PM, Gelonida N wrote: > Hi Sagar, > > In order to be able to help you I propose following: > > On 09/15/2011 06:54 AM, Sagar Neve wrote: > . . . > > print "hell

Re: help regarding re.search

2011-09-14 Thread Sagar Neve
Yes. It is been resolved now for the sample program. however, as mentioned in other post. It is not working in the main program On Thu, Sep 15, 2011 at 10:25 AM, Kushal Kumaran < kushal.kumaran+pyt...@gmail.com> wrote: > On Thu, Sep 15, 2011 at 10:11 AM, Sagar Neve wrote: > > H

Re: help regarding re.search

2011-09-14 Thread Sagar Neve
ot;." + str(cnt) fout =open(foutname, "a") fout.write(line) fout.close else: print "here\n";

Re: help regarding re.search

2011-09-14 Thread Sagar Neve
gives me: ./sample.py: line 9: syntax error near unexpected token `:' ./sample.py: line 9: `if (Opt_Param2 in url):' Help. On Thu, Sep 15, 2011 at 9:05 AM, Chris Rebert wrote: > On Wed, Sep 14, 2011 at 8:33 PM, Sagar Neve wrote: > > If A in B: > > does nt seem to

Re: help regarding re.search

2011-09-14 Thread Sagar Neve
If A in B: does nt seem to be working. Am I missing something here. -$agar On Sep 15, 2011 7:25 AM, "Chris Rebert" wrote: > On Wed, Sep 14, 2011 at 6:41 PM, Sagar Neve wrote: >> Hi, >> I have a small program where I want to do just a small regex operation. >&

help regarding re.search

2011-09-14 Thread Sagar Neve
Hi, I have a small program where I want to do just a small regex operation. I want to see if value of a variable 'A' is present in an another variable 'B'. The below code works fine but as soon as the variable 'A' has some string including a dot it fails. for example say: B="dpkg.ipaz

help regarding re.search

2011-09-14 Thread Sagar Neve
Hi, I have a small program where I want to do just a small regex operation. I want to see if value of a variable 'A' is present in an another variable 'B'. The below code works fine but as soon as the variable 'A' has some string including a dot it fails. for example say: B="dpkg.ipaz