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
Object[] opValues = new Object[exprs.length];
					
					for ( int i = 0; i < opValues.length; i++ )
					{
						opValues[i] = evalExpr( (IBaseExpression)exprs[i],
								cx,
								scope,
								source,
								lineNo );
					}
					result = evalConditionalExpr( expression,
							conditionalExpr.getOperator( ),
							MiscUtil.flatternMultipleValues( opValues ) );
				}
				else
				{
					Object Op1 = evalExpr( MiscUtil.constructValidScriptExpression( (IScriptExpression) conditionalExpr.getOperand1( ) ),
							cx,
							scope,
							source,
							lineNo );
					Object Op2 = evalExpr( MiscUtil.constructValidScriptExpression( (IScriptExpression) conditionalExpr.getOperand2( ) ),
							cx,
							scope,
							source,
							lineNo );
					result = evalConditionalExpr( expression,
							conditionalExpr.getOperator( ),
							new Object[]{