Re: regex expression to determine if i have a valid email!!

2005-09-15 Thread $Bill Luebkert
bruce wrote: > hi... > > i've got a php app, and i'm trying to figure out how/where to turn to to get > a good working regex in order to determine if i have a valid email address > > any help/thoughts/etc.. would be seriously helpful... > > i've come across a great many preg_match functions for

Re: regex expression to determine if i have a valid email!!

2005-09-15 Thread Chris Wagner
Well it very much depends on what u consider a "valid" email address. Because technically, anything can be valid in some context. What u probably want here is a fully qualified Internet mail address. The basic form of this would be m/[EMAIL PROTECTED]/. If u want to limit that to known "legitima

RE: regex expression to determine if i have a valid email!!

2005-09-15 Thread Charles K. Clarkson
bruce <> wrote: : i've got a php app, and i'm trying to figure out how/where to : turn to to get a good working regex in order to determine if i : have a valid email address : : any help/thoughts/etc.. would be seriously helpful... : : i've come across a great many preg_match functions for php,

regex expression to determine if i have a valid email!!

2005-09-15 Thread bruce
hi... i've got a php app, and i'm trying to figure out how/where to turn to to get a good working regex in order to determine if i have a valid email address any help/thoughts/etc.. would be seriously helpful... i've come across a great many preg_match functions for php, but i haven't run across

Doubt in using Win32:GUITest module

2005-09-15 Thread Rajesh Vattem
Hi all, I am trying to use this Win32:GUITest module for doing some GUI operations. I observed that the script below fails when I execute the script as below. perl auto.pl Strangely, the script passes when I do auto.pl. Can some one explain why is this so? my $name = "^Utrantestmanager";

Re: Regular expression

2005-09-15 Thread $Bill Luebkert
$Bill Luebkert wrote: > You can also use quotemeta (look it up) or escape your .'s in $number (ie: > "1\.2\.3\.4"). That should have been '1\.2\.3\.4' or "1\\.2\\.3\\.4". -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesM

Re: Regular expression

2005-09-15 Thread $Bill Luebkert
Wong, Danny H. wrote: > Hi Perl Gurus, > I have a regular expression question. > I have a variable > $Number = "1.2.3.4" > > When I use the variable $Number as part of my regular expression, the > "." character gets interpret as any character. How do I make it a > literal "." that I'm searc

Re: Regular expression

2005-09-15 Thread Сергей Черниенко
Hello Danny, Thursday, September 15, 2005, 9:28:44 AM, You wrote: WDH> $Number = "1.2.3.4" WDH> When I use the variable $Number as part of my regular expression, the WDH> "." character gets interpret as any character. How do I make it a WDH> literal "." that I'm searching for? WDH> Example: WD

Re: Regular expression

2005-09-15 Thread Foo Ji-Haw
Don't know if this works, but have you tried: $string = "1\\.2\\.3"; - Original Message - From: "Wong, Danny H." <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]>; "Jan Dubois" <[EMAIL PROTECTED]>; "perl-win32-users" Sent: Thursday, September 15, 2005 2:28 PM Subject: Regular expre