BASH - Regex

IP validity