According to the pattern match here, the matches are 213.239.250.131 and 014.10.26.06.
Yet when I run the generated Python code and print out the value of re.findall(p, test_str), I get:
[('', '', '213.239.250.131'), ('', '', '014.10.26.06')]
I could hack around the list and it tuples to get the values I'm looking for (the IP addresses), but (i) they might not always be in the same position in the tuples and (ii) I'd rather understand what's going on here so I can either tighten up the regex, or extract only IP addresses using Python's own re functionality.
Why do I get this list of tuples, why the apparent whitespace matches, and how do we ensure that only the IP addresses are returned?
