Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
Wrap text
Report abuse
<%= valid = true ips.each do |ip| valid = false unless ip =~ /([a-f0-9]{1,2}:){5}[a-f0-9]{1,2}/ end return valid %>
Pasted February 09, 2010 2:46AM EDT
Embed
Ads from Ruby Row