code: function removeComplete(regex, lines, start) {
    var matches = lines[start].match(regex);
    var i = 0;
    var s = lines[start];
    matches = s.match(regex);
  
    while (!matches) {
      i++;
      if ((start + i) > lines.length) return;
      s += lines[start + i];
      matches = s.match(regex);
    }
    lines.splice(start, i + 1);
  }
docs: some calls stretch across multiple lines, so we need to ensure to remove them completely