code: public static Query regex(String field,
                                String pattern,
                                int options) {
          return regex(field, pattern, is(options, CASE_INSENSITIVE), is(options, EXTENDED), is(options, MULTILINE), is(options, DOTALL));
      }
docs: <pre>
  { field: <field>, regex: <pattern>, ... }
  </pre>