Regular Expression to check a valid IP

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

MichaelR
Forum Contributor
Posts: 148
Joined: Sat Jan 03, 2009 3:27 pm

Re: Regular Expression to check a valid IP

Post by MichaelR »

No problem. :)

And to ridgerunner: After mentioning this irregularity to Dominic Sayers, he mentioned that RFC 5321 probably took into account (the unpublished) RFC 5952, which is an update to 4291 and states in section 4.2.2 that 'the symbol "::" MUST NOT be used to shorten just one 16-bit 0 field. For example, the representation 2001:db8:0:1:1:1:1:1 is correct, but 2001:db8::1:1:1:1:1 is not correct.'
Post Reply