Re: :re: IP regex?

Discussion in 'Perl' started by Gareth Glaccum, Jul 7, 2003.

  1. (JamesW) wrote in message news:<>...

    > $ip = 123.234.456 #true
    > $ip = 123..234 #false
    > $ip = 12.345 #false
    > $ip = 123 #true
    > $ip = 123f #false
    >
    > hth


    Thanks, but it doesn't actually allow me to test for a valid IP
    though. Sorry I should have re-stated it in the question.
    Gareth
    Gareth Glaccum, Jul 7, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SmViQnVzaGVsbA==?=

    Is ASP Validator Regex Engine Same As VS2003 Find Regex Engine?

    =?Utf-8?B?SmViQnVzaGVsbA==?=, Oct 22, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    700
    =?Utf-8?B?SmViQnVzaGVsbA==?=
    Oct 22, 2005
  2. Rick Venter

    perl regex to java regex

    Rick Venter, Oct 29, 2003, in forum: Java
    Replies:
    5
    Views:
    1,622
    Ant...
    Nov 6, 2003
  3. Replies:
    2
    Views:
    597
  4. Xah Lee
    Replies:
    1
    Views:
    941
    Ilias Lazaridis
    Sep 22, 2006
  5. Replies:
    3
    Views:
    760
    Reedick, Andrew
    Jul 1, 2008
Loading...

Share This Page