Re: Help with a regex

2012-12-22 Thread Feng He
> > You probably had $string double quoted instead of > single quoted which later results in the \ being eaten. > Thank you. The people who said the problem of double quoted string are correct, I didn't know this item before. This is what I really want: use strict; my $email1 = restore_email

Re: Help with a regex

2012-12-22 Thread Dr.Ruud
On 2012-12-22 10:46, Feng He wrote: You probably had $string double quoted instead of single quoted which later results in the \ being eaten. Thank you. The people who said the problem of double quoted string are correct, I didn't know this item before. This is what I really want: use s

Regex help

2012-12-22 Thread punit jain
Hi, I have a file like below : - BEGIN:VCARD VERSION:2.1 EMAIL:te...@test.com FN:test1 REV:20101116T030833Z UID:644938456.1419. END:VCARD >From <>(S___-0003) Tue Nov 16 03:10:15 2010 content-class: urn:content-classes:person Date: Tue, 16 Nov 2010 11:10:15 +0800 Subject: test Message

Re: Regex help

2012-12-22 Thread Paul Johnson
On Sat, Dec 22, 2012 at 04:45:21PM +0530, punit jain wrote: > Hi, > > I have a file like below : - > > BEGIN:VCARD > VERSION:2.1 > EMAIL:te...@test.com > FN:test1 > REV:20101116T030833Z > UID:644938456.1419. > END:VCARD > > >From <>(S___-0003) Tue Nov 16 03:10:15 2010 > content-class

Re: Regex help

2012-12-22 Thread David Precious
On Sat, 22 Dec 2012 16:45:21 +0530 punit jain wrote: > Hi, > > I have a file like below : - [snipped example - vcards with mail headers etc in between] > My requirement is to get all text between BEGIN:VCARD and END:VCARD > and all the instances. So o/p should be :- [...] > I am using below r

ActiveState Perl Install Location

2012-12-22 Thread Mike Flannigan
Please ignore the post below. The answer is that it tries to install to C:/Perl64, but for some odd reason never creates that directory, or at least I can't see it or get to it by trying the address into file explorer, even though it says it installs fine. This version of ActiveState also won't

Re: Regex help

2012-12-22 Thread Rob Dixon
On 22/12/2012 11:15, punit jain wrote: Hi, I have a file like below : - BEGIN:VCARD VERSION:2.1 EMAIL:te...@test.com FN:test1 REV:20101116T030833Z UID:644938456.1419. END:VCARD From <>(S___-0003) Tue Nov 16 03:10:15 2010 content-class: urn:content-classes:person Date: Tue, 16 Nov