function PingModule(settings) {
  this.settings = settings;
  this.routes = [
    [/doc link ([a-z]+)#([a-zA-Z]+)/, this.onLink]
  ]
}

exports.Module = PingModule;

PingModule.prototype.onLink = function(from, command, args) {
  return 'http://nodejs.org/docs/v0.5.4/api/' + args[1] + '.html#' + args[2];
}


@@ -221,16 +221,52 @@
 args) %7B%0A
+  anchor = args%5B1%5D + '.' + args%5B2%5D;%0A
   return
@@ -327,19 +327,17 @@
 ml#' + a
-rgs%5B2%5D;
+nchor
 %0A%7D%0A%0A

Fix links generated by docs module