in reply to Re^2: Out of Memory in Perl
in thread Out of Memory in Perl

I prefer your regex, and am not sure if the OP intentionally omitted traceroute lines with "*" in them. Only noticed because I was also tweaking the OP's regex (the EOL IPs were just waiting to be captured).