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:
google.com has address 220.127.116.11
Comes out on one line like this:
$ host google.com 18.104.22.168
google.com A 22.214.171.124
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?