For July's meetup, we'll be having a workshop on Regular Expressions[1] at
Hiver[2] from 2PM - 5PM on the 20th of July.
*Please note the change in timings from the usual. This is an afternoon
session. *
RSVPs are now open.
*The agenda is as follows - *
- Introduction to regular expressions
- Int
use this way
r'(/|\\)cmd\.com$'
Its raw string stuff which i guess you are missing out.
Nitin K
On Wed, Mar 16, 2011 at 11:27 PM, Santhosh Edukulla <
santhosh.eduku...@gmail.com> wrote:
> Hi All,
>
> I have a list of regular expressions under a file(EX: inp.txt). Then, I
> have
> another file
On Wed, Mar 16, 2011 at 11:27 PM, Santhosh Edukulla
wrote:
> Hi All,
>
> I have a list of regular expressions under a file(EX: inp.txt). Then, I have
> another file (EX: search.txt).The task is that i have to read the list of
> regular expressions from the inp.txt and then search for the same in
>
On Wed, Mar 16, 2011 at 11:27:24PM +0530, Santhosh Edukulla wrote:
> a = '(/|\\)cmd\.com$'
> 1.
> When i read the regular expression above from the file to a variable *(EX:
> a)*. as below
> EX:
> *a=open('inp.txt','r').readlines()[0]*
>
> Iam getting a different regular expresson as *'(/|)cm
On Wed, 2011-03-16 at 23:27 +0530, Santhosh Edukulla wrote:
> 1.
> When i read the regular expression above from the file to a variable
> *(EX:
> a)*. as below
> EX:
> *a=open('inp.txt','r').readlines()[0]*
>
> Iam getting a different regular expresson as *'(/|)cmd\.com$'*
>
> 2. Instead whe
Hi All,
I have a list of regular expressions under a file(EX: inp.txt). Then, I have
another file (EX: search.txt).The task is that i have to read the list of
regular expressions from the inp.txt and then search for the same in
"search.txt" and output the matched string.
Iam using python *"re" *m