docs: def validate_options(self, k, v):
          """Validate options."""
  
          super().validate_options(k, v)
          if k == 'string_types':
              if RE_VALID_STRING_TYPES.match(v) is None:
                  raise ValueError("{}: '{}' does not define valid string types".format(self.__class__.__name__, v))