code: function(topicArray) {
      var regexArray = [];
      topicArray.forEach(function(filterString) {
        var regex = filterString.replace(/\/\+/g,'\\/.+').replace(/\/#$/g,'');
        regexArray.push(new RegExp(regex));
      });
      return regexArray;
    }
docs: /* build a regular expression to match the topic