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