Bug 178166 org.eclipse.birt.data has compile error in daily build 20070320
org.eclipse.birt.data has compile error in daily build 20070320. Please see the attachment for details
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/OlapExpressionUtil.java
if ( expr == null )
			return null;
		if ( !expr.matches( "\\Qdimension[\"\\E.*\\Q\"][\"\\E.*\\Q\"]\\E" ))
			return null;
		
		return expr.replaceFirst( "\\Qdimension[\"\\E.*\\Q\"][\"\\E", "" )
				.replaceAll( "\\Q\"]\\E", "" ); 
	}
	
	/**
	 * This method is to get the measure name that referenced by a measure reference expression.
	 * 
	 * @param expr
	 * @return
	 */
	public static String getMeasure( String expr )
	{
		if ( expr == null )
			return null;
		if ( !expr.matches( "\\Qmeasure[\"\\E.*\\Q\"]\\E" ))
			return null;
		return expr.replaceFirst( "\\Qmeasure[\"\\E", "" ).replaceFirst(  "\\Q\"]\\E", "" );
		
	}
	
	/**
	 * This method returns a list of ICubeAggrDefn instances which describes the aggregations that
	 * need to be calcualted in cube query.
	 *