Fix in ip regex (did not end) and fixes in re.match function (#15)