def regex(name, regexp, options = {})
      field name, RegexField.new(regexp, options)
    end
def regex(name, regexp, options = {})
      field name, RegexField.new(regexp, options)
    end
Declare a +RegexField+