Bug 120958 Match operator does not work
1. Insert a table and a data set field, such as customerName. 2. Specify the following filter for the table: row["customerName"] Match /^Mini/i (This is a valid JavaScript regular expression) 3. Preview the report. An error message appears saying that the conditional operator is not supported. See attached report design.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java
}
	IScriptDataSourceDesign newScriptDataSource( ScriptDataSourceHandle source )
	{
		ScriptDataSourceDesign dteSource = new ScriptDataSourceDesign( source
				.getQualifiedName( ) );
		IScriptDataSourceEventHandler eventHandler = new ScriptDataSourceScriptExecutor(
				source, reportContext );
		dteSource.setEventHandler( eventHandler );
		
		adaptBaseDataSource( source, dteSource );
		
		dteSource.setOpenScript( source.getOpen( ) );
		dteSource.setCloseScript( source.getClose( ) );
		return dteSource;
	}
	void adaptBaseDataSource( DataSourceHandle source, BaseDataSourceDesign dest )
	{
		dest.setBeforeOpenScript( source.getBeforeOpen( ) );
		dest.setAfterOpenScript( source.getAfterOpen( ) );
		dest.setBeforeCloseScript( source.getBeforeClose( ) );
		dest.setAfterCloseScript( source.getAfterClose( ) );
	}
	IOdaDataSetDesign newExtendedDataSet( OdaDataSetHandle modelDataSet,
			IReportContext reportContext ) throws BirtException
	{
		OdaDataSetDesign dteDataSet = new OdaDataSetDesign( modelDataSet
				.getQualifiedName( ) );
		IBaseDataSetEventHandler eventHandler = new DataSetScriptExecutor(
				modelDataSet, reportContext );
		dteDataSet.setEventHandler( eventHandler );