docs: function(template) {
          // no pragmas
          if(!this.includes("%", template)) {
            return template;
          }
  
          var that = this;
          var regex = new RegExp(this.otag + "%([\\w-]+) ?([\\w]+=[\\w]+)?" +
                this.ctag);
          return template.replace(regex, function(match, pragma, options) {
            if(!that.pragmas_implemented[pragma]) {
              throw({message:
                "This implementation of mustache doesn't understand the '" +
                pragma + "' pragma"});
            }
            that.pragmas[pragma] = {};
            if(options) {
              var opts = options.split("=");
              that.pragmas[pragma][opts[0]] = opts[1];
            }
            return "";
            // ignore unknown pragmas silently
          });
        }