Bug 164764 Joint data set does not work properly using attached flatfile
The data set preview keep empty in joint data set. Step to reproduce: 1.Create two data sets based on attached flat file 2.Make an inner join using joint data set with key "A". 3.Preview data set in data set editor. Expect result: The data set preview correctly Actual result: The data set preview is empty.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
final String reservedChars = "([{^$|)?*+.";
		int patternLen = patternStr.length();
		StringBuffer buffer = new StringBuffer( patternLen * 2 );
		
		for ( int i = 0; i < patternLen; i++)
		{
			char c = patternStr.charAt(i);
			if ( c == '\\' )
			{
				 
				
				++i;
				if ( i < patternLen )
				{
					c = patternStr.charAt( i );
					if ( c == '%' || c == '_' )
						buffer.append( c );
					else if ( c == '\\' )
						buffer.append( "\\\\");		
				}
				else
				{
					buffer.append( "\\\\" );  	
				}