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