IPv4 regexp improvements
I saw quite nice post and answer on StackOverflow about an IPv4 address regexp. This made me improve a little address and prefix regexps.
Notes from orzechot's adventures in realms of system and network administration.