http://qs321.pair.com?node_id=766268


in reply to Re^2: Don't Use Regular Expressions To Parse IP Addresses!
in thread Don't Use Regular Expressions To Parse IP Addresses!

It works inside the correct context. For example, if you supply a leading ^ and trailing $ then all is well. You have to supply your own context.