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
{
			String logStr ="";
			for ( int i = 0; i < ops.length; i++ )
			{
				logStr += resultOp[i] == null
						? null
						: ( ", resultOp" + i + "=" + LogUtil.toString( resultOp[i] ) );
			}
			logger.entering( ScriptEvalUtil.class.getName( ),
					"evalConditionalExpr",
					"evalConditionalExpr() resultObject=" +
							LogUtil.toString( resultObject ) + ", operator=" +
							operator + logStr );
		}
		boolean result = false;
		switch ( operator )
		{
			case IConditionalExpression.OP_EQ :
			    result = compare( resultObject, resultOp[0] ) == 0;
				break;
			case IConditionalExpression.OP_NE :
			    result = compare( resultObject, resultOp[0] ) != 0;
				break;
			case IConditionalExpression.OP_LT :
				result = compare( resultObject, resultOp[0] ) < 0;
				break;
			case IConditionalExpression.OP_LE :
				result = compare( resultObject, resultOp[0] ) <= 0;
				break;
			case IConditionalExpression.OP_GE :