Open bcoles opened 3 years ago
# TODO: refactor this. data which matches these regexs should be taken care of above url_list = url_list.select { |x| !(x =~ %r{^[0-9\.\-*\/]+$}) || x =~ /^[\d\.]+$/ } url_list += ip_range unless ip_range.empty?