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