changed regexp for ip address.
by FZD.