def ExtractIpv4Addresses(text):
  match = re.findall(_IPV4_REGEX, text)
  if not match:
    raise NoMatchError('No match for ipv4 addresses in "{0}"'.format(text))
  return match
Extracts all ipv4 addresses within 'text'.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/regex_util.py/ExtractIpv4Addresses