code: function(wkt) {
          var features, type, str;
          wkt = wkt.replace(/[\n\r]/g, " ");
          var matches = this.regExes.typeStr.exec(wkt);
          if(matches) {
              type = matches[1].toLowerCase();
              str = matches[2];
              if(this.parse[type]) {
                  features = this.parse[type].apply(this, [str]);
              }
              if (this.internalProjection && this.externalProjection) {
                  if (features && 
                      features.CLASS_NAME == "OpenLayers.Feature.Vector") {
                      features.geometry.transform(this.externalProjection,
                                                  this.internalProjection);
                  } else if (features &&
                             type != "geometrycollection" &&
                             typeof features == "object") {
                      for (var i=0, len=features.length; i<len; i++) {
                          var component = features[i];
                          component.geometry.transform(this.externalProjection,
                                                       this.internalProjection);
                      }
                  }
              }
          }    
          return features;
      }
docs: APIMethod: read
  Deserialize a WKT string and return a vector feature or an
  array of vector features.  Supports WKT for POINT, MULTIPOINT,
  LINESTRING, MULTILINESTRING, POLYGON, MULTIPOLYGON, and
  GEOMETRYCOLLECTION.
  
  Parameters:
  wkt - {String} A WKT string
  
  Returns:
  {<OpenLayers.Feature.Vector>|Array} A feature or array of features for
  GEOMETRYCOLLECTION WKT.