http://www.perlmonks.org?node_id=950186


in reply to Re^2: More complicated regular expression?
in thread More complicated regular expression?

Last question. What if the output instead of
Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases: google.com has address 74.125.113.147
Comes out on one line like this:
$ host google.com 8.8.8.8 google.com A 74.125.113.99
My previous matching idea still cuts off the last digit. I thought using javafan's and searching for A
/A (\S+)/ and do_something($1);
Might work but it doesn't seem to. Is there an issue because of the spacing?