 f1b75fbaf1
			
		
	
	f1b75fbaf1
	
	
	
		
			
			For the test case "matches to end of line", extend the pattern by a few wildcards so that the pattern captures the "RIGHT" token, which is needed for verification, without mentioning it in the pattern. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			426 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			426 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| public class Beer
 | |
| {
 | |
| 	int special;
 | |
| 	public static void main(String RIGHT[])
 | |
| 	{
 | |
| 		String s=" ";
 | |
| 		for(int x = 99; x > 0; x--)
 | |
| 		{
 | |
| 			System.out.print(x + " bottles of beer on the wall "
 | |
| 				+ x + " bottles of beer\n" // ChangeMe
 | |
| 				+ "Take one down, pass it around, " + (x - 1)
 | |
| 				+ " bottles of beer on the wall.\n");
 | |
| 		}
 | |
| 		System.out.print("Go to the store, buy some more,\n"
 | |
| 			+ "99 bottles of beer on the wall.\n");
 | |
| 	}
 | |
| }
 |