code: @Deprecated
  	protected void computeRegions(List<ReplaceRegion> regions, Iterable<ILeafNode> leafNodes, String toSearch, String end, String optionalEnd, String optionalEnd2) {
  		computeRegions(regions, leafNodes, toSearch, new String[]{end, optionalEnd, optionalEnd2});
  	}
docs: Computes regions between a given string to search and different ends searched by their precedence
  
  @param regions - List to put new regions in
  @param leafNodes - nodes to search in
  @param toSearch - String to search
  @param end - end with highest precedence
  @param optionalEnd - end with lower precedence
  @param optionalEnd2 - end with lowest precedence
  @deprecated use {@link #computeRegions(List, Iterable, String, String...)}