docs: function getChannels(pattern) {
    if(!pattern) return Object.keys(this._channels);
    var re = (pattern instanceof RegExp) ? pattern : Pattern.compile(pattern)
      , k
      , list = [];
    for(k in this._channels) {
      if(re.test(k)) {
        list.push(k);
      }
    }
    return list;
  }