Stop matching when lastmatch points to '\n'
This situation happens with something like s/$/test/, where rm_so == rm_eo == 0. Without this check, ed keeps looping forever.
This commit is contained in:
		
				
					committed by
					
						
						sin
					
				
			
			
				
	
			
			
			
						parent
						
							0b117ab6c0
						
					
				
				
					commit
					cf868c8eeb
				
			
		Reference in New Issue
	
	Block a user