code: function(e, regex) {
      var endOfSearchMarkerNode = this._getNextNode(e, true);
      var next = this._getNextNode(e);
      while (next && next != endOfSearchMarkerNode) {
        if (regex.test(next.className + " " + next.id)) {
          next = this._removeAndGetNext(next);
        } else {
          next = this._getNextNode(next);
        }
      }
    }
docs: Clean out elements whose id/class combinations match specific string.
  
  @param Element
  @param RegExp match id/class combination.
  @return void