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
else
				{
					return obj1.toString( ).compareTo( obj2.toString( ) );
				}
			}
			else if ( MiscUtil.isNumericOrString( obj1 ) && MiscUtil.isNumericOrString( obj2 ) )
			{
				try
				{
					return DataTypeUtil.toDouble( obj1 ).compareTo(
						DataTypeUtil.toDouble( obj2 ) );
				}catch (Exception e )
				{
					return DataTypeUtil.toString( obj1 ).compareTo(
							DataTypeUtil.toString( obj2 ) );
				}
			}
			else if ( MiscUtil.isDateOrString( obj1 ) && MiscUtil.isDateOrString( obj2 ) )
			{
			try
				{
					return DataTypeUtil.toDate( obj1 )
							.compareTo( DataTypeUtil.toDate( obj2 ) );
				}
				catch ( Exception e )
				{
					return DataTypeUtil.toString( obj1 )
							.compareTo( DataTypeUtil.toString( obj2 ) );
				}