private static ParsedRegex visitRegexOptNode(Node n,String inheritance,CompilerLogger logger)
	throws CopperException
	{
		ParsedRegex pr = null,buffer;
		for(int i = 0;i < n.getChildNodes().getLength();i++)
		{
			buffer = visitRegexInteriorNode(n.getChildNodes().item(i),inheritance,logger);
			if(buffer != null && pr != null)
			{
				formalError(logger,n,"has too many","regex","children");
			}
			if(buffer != null)
			{
				pr = buffer;
			}
		}
		return new Choice(pr,new EmptyString());
	}