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
}
	/**
	 * Evaluates a property binding Javascript expression
	 */
	String evaluatePropertyBindingExpr( String expr ) throws BirtException
	{
		expr = formatText( expr );
		Object result = JavascriptEvalUtil.evaluateScript( null,
				jsScope,
				expr,
				"property binding",
				0 );
		return result.toString( );
	}
	
	/**
	 * Format Query Text Simply replace all LF(10) with " "
	 * 
	 * @param source
	 * @return
	 */
	private String formatText( String source )
	{
		if ( source != null )
		{
			source = source.replaceAll( "\r", " " );
			return source.replaceAll( "\n", " " );
		}
		else
			return "";