>>>>> "K" == K Prabakar <[EMAIL PROTECTED]> writes:

K> Try this ----> $_ =~ /^\w\w*-?\w+?[\.\w\w*-?\w+?]*$/

"Try" is usually a good clue to mean "This is not your solution".

In this case, you've got all sorts of stuff going on in a character class.
Wrong stuff.  "Try" again.  Please.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to