Determine IP version and change from_match for any.

The output of ufw status for an ipv6 allow from any adds a '(v6)' to the
output.
This does a simple regex to determine if the ip address is ipv6 and then
changes the from_match to add the expected output.