@Override
	public Boolean visitChoiceRegex(ChoiceRegex bean)
	throws RuntimeException
	{
		boolean first = true;
		if(bean.getSubexps().size() > 1) out.append("(");
		for(Regex subexp : bean.getSubexps())
		{
			if(first)
			{
				first = false;
			}
			else out.append("|");
			subexp.acceptVisitor(this);
		}
		if(bean.getSubexps().size() > 1) out.append(")");
		return false;
	}