# File formvalidator.rb, line 448 def constraint_regexp_map return nil unless Hash === @profile[:constraint_regexp_map] @profile[:constraint_regexp_map].each do |re,constraint| re = Regexp.new(re) @form.keys.select {|key| key =~ re}.each do |match| do_constraint(match, [constraint].flatten) if @form[match] end end end