Bug 212094 BirtComp.match doesn't work
The BirtComp.match() function is supposed to test if a value matches a JavaScript regular expression. However, the following expression always returns false when there are product codes that contain the string S24. BirtComp.match(dataSetRow["PRODUCTCODE"], /S24/)
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
* @return A Boolean result
	 * @throws DataException
	 */
	public static Object evalConditionalExpr( Object obj,
			int operator, Object[] ops )
			throws DataException
	{
		ExprTextAndValue[] opTextAndValue = new ExprTextAndValue[ops.length]; 
		for( int i=0; i< ops.length; i++ )
		{
			opTextAndValue[i] = createExprTextAndValueInstance( ops[i] );
		}
		
		Object resultObject = obj;
		Object[] resultOp = new Object[ops.length];
		for( int i=0; i< ops.length; i++ )
		{
			resultOp[i] = opTextAndValue[i].value;
		}
		Object[] obArray = MiscUtil.isComparable( obj, operator, opTextAndValue );
		if ( obArray != null )
		{
			resultObject = obArray[0];
			for ( int i = 1; i < obArray.length; i++ )
			{
				resultOp[i - 1] = obArray[i];
			}
		}
		
		if ( logger.isLoggable( Level.FINER ) )