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
{
					if ( obArray[i + 1] != null &&
							!isSameType( obj, obArray[i + 1] ) )
					{
						isSameType = false;
						break;
					}
				}
			}
			else
			{
				isSameType = false;
			}
			if ( isSameType )
				return obArray;
			else if ( obj instanceof Boolean )
				populateObArray( obArray[1], obArray );
			else
				populateObArray( obj, obArray );
			return obArray;
		}
		private static Object[] populateObArray( Object obj, Object[] obArray )
		{
			try
			{
				if ( obj instanceof Number )
				{
					for ( int i = 0; i < obArray.length; i++ )
					{
						obArray[i] = DataTypeUtil.toDouble( obArray[i] );