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