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