Re: Reading and matching email ids

2007-04-20 Thread Higashi Noboru
gashi On 4/20/07, yitzle <[EMAIL PROTECTED]> wrote: I fail to see the need to escape the @ and . A . needs to be escaped in RegEx to avoid confusion with the 'match any character', but otherwise, I don't think you want the slash there. On 4/20/07, Higashi Noboru <[EMAIL PR

Re: Reading and matching email ids

2007-04-20 Thread Higashi Noboru
try this $id = "[EMAIL PROTECTED]"; cheers On 4/20/07, Saravana Kumar <[EMAIL PROTECTED]> wrote: Hi list, I am testing a regex with email ids. I have a list of ids that i want to match against a one more list of ids. I have this: #! /usr/bin/perl $id="[EMAIL PROTECTED]"; while(<>) { chomp(