##// END OF EJS Templates
Fix ipconfig regex pattern...
Thomas Kluyver -
Show More
@@ -122,7 +122,7 b' def _load_ips_ip():'
122 122 addrs.append(blocks[1].split('/')[0])
123 123 _populate_from_list(addrs)
124 124
125 _ipconfig_ipv4_pat = re.compile(r'ipv4.*(\d+\.\d+\.\d+\.\d+)$', re.IGNORECASE)
125 _ipconfig_ipv4_pat = re.compile(r'ipv4.*?(\d+\.\d+\.\d+\.\d+)$', re.IGNORECASE)
126 126
127 127 def _load_ips_ipconfig():
128 128 """load ip addresses from `ipconfig` output (Windows)"""
General Comments 0
You need to be logged in to leave comments. Login now