mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Use ? in path matching to avoid /* trap.
This commit is contained in:
		@@ -45,8 +45,8 @@ clist l;
 | 
			
		||||
	print "4 = ", p2.len;
 | 
			
		||||
	p2 = prepend( p2, 5 );
 | 
			
		||||
	print "Should be false: ", p2 ~ p;
 | 
			
		||||
	print "Should be true: ", p2 ~ / * 4 3 2 1 /, p2, / * 4 3 2 1 /;
 | 
			
		||||
	print "Should be true: ", p2 ~ / * 4 3 * 1 /, p2, / * 4 3 * 1 /;
 | 
			
		||||
	print "Should be true: ", p2 ~ / ? 4 3 2 1 /, p2, / ? 4 3 2 1 /;
 | 
			
		||||
	print "Should be true: ", p2 ~ / ? 4 3 ? 1 /, p2, / ? 4 3 ? 1 /;
 | 
			
		||||
	print "5 = ", p2.len;
 | 
			
		||||
 | 
			
		||||
	l = - empty -;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user