# File formvalidator.rb, line 739 def filter_neg_integer(value) value.gsub!(/[^\d-]/, "") value.scan(/\-?\d+/).to_s end