code: public static EquivalentFragmentSet regex(VarProperty varProperty, Variable resourceType, String regex) {
          return new AutoValue_RegexFragmentSet(varProperty, resourceType, regex);
      }
docs: An {@link EquivalentFragmentSet} that indicates a resource type whose instances must conform to a given regex.