docs: @SuppressWarnings("static-method")
  	protected IStyleAppendable appendRegion(IStyleAppendable it, boolean addNewLine, String name, String start, String[] end, String... contains) {
  		it.append("syn region  "); //$NON-NLS-1$
  		it.append(name);
  		it.append(" start="); //$NON-NLS-1$
  		it.append(regexString(start));
  		for (final String endPattern : end) {
  			it.append(" end="); //$NON-NLS-1$
  			it.append(regexString(endPattern));
  		}
  		if (contains.length > 0) {
  			it.append(" contains=").append(contains[0]); //$NON-NLS-1$
  			for (int i = 1; i < contains.length; ++i) {
  				it.append(",").append(contains[i]); //$NON-NLS-1$
  			}
  		}
  		if (addNewLine) {
  			it.newLine();
  		}
  		return it;
  	}