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
import org.eclipse.birt.report.model.api.ColumnHintHandle;
import org.eclipse.birt.report.model.api.ComputedColumnHandle;
import org.eclipse.birt.report.model.api.DataSetHandle;
import org.eclipse.birt.report.model.api.DataSetParameterHandle;
import org.eclipse.birt.report.model.api.DataSourceHandle;
import org.eclipse.birt.report.model.api.ExtendedPropertyHandle;
import org.eclipse.birt.report.model.api.FilterConditionHandle;
import org.eclipse.birt.report.model.api.OdaDataSetHandle;
import org.eclipse.birt.report.model.api.OdaDataSourceHandle;
import org.eclipse.birt.report.model.api.ParamBindingHandle;
import org.eclipse.birt.report.model.api.ReportElementHandle;
import org.eclipse.birt.report.model.api.ResultSetColumnHandle;
import org.eclipse.birt.report.model.api.ScriptDataSetHandle;
import org.eclipse.birt.report.model.api.ScriptDataSourceHandle;
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
import org.eclipse.birt.report.model.api.metadata.IPropertyDefn;
import org.eclipse.birt.report.model.elements.OdaDataSet;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
/**
 * An adapter class that creates data engine API interface objects from
 * the model.api objects for data set and data source definition.
 * 
 * The user of this adaptor can optionally provide an associated IReportContext
 * object and a Javascript scope. IReportContext is used to provide a context
 * for executing data source and data set event handlers. The Javascript
 * scope is used to evaluate data source and data set binding expressions. If a scope
 * is not provided, data source and data set bindings will not take effect. 
 */
public class ModelDteApiAdapter