Bug 201030 NPE throws out when preview the attached report design
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
Matcher m = p.matcher( sourceStr.toString( ) );
			return m.matches( );
		}
		catch ( PatternSyntaxException e )
		{
			throw new DataException( ResourceConstants.MATCH_ERROR,  e, pattern );
		}
	}
	
	/**
	 * 
	 * @param resultObj
	 * @return
	 * @throws DataException
	 */
	private static boolean in( Object[] resultObj ) throws DataException
	{
		Object target = resultObj[0];
		for ( int i = 1; i < resultObj.length; i++ )
		{
			if ( resultObj[i] instanceof Object[] )
			{
				Object[] flatternObj = (Object[]) resultObj[i];
				if ( in( target, flatternObj ) )
					return true;
			}
			else 
			if ( compare( target, resultObj[i] ) == 0 )
				return true;
		}