>>>>> "GK" == Guruprasad Kulkarni <guruprasa...@gmail.com> writes:

  GK> Here is another way to do it:

  GK> /^127\.0\.0\.([\d]|[1-9][\d]|[1][\d][\d]|[2]([0-4][\d]|[5][0-4]))$/) {

why are you putting single chars inside a char class? [\d] is the same
as \d and [1] is just 1.

also please don't quote entire emails below your post. learn to bottom
post and edit the quoted emails. we read from top to bottom so post that
way too.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to