1 --- wicd/wnettools.py.bak 2011-08-20 12:55:32.898673334 +0200
2 +++ wicd/wnettools.py 2011-08-20 12:55:56.608671946 +0200
4 wpa2_pattern = re.compile('(WPA2)', _re_mode)
6 #iwconfig-only regular expressions.
7 -ip_pattern = re.compile(r'inet [Aa]d?dr[^.]*:([^.]*\.[^.]*\.[^.]*\.[0-9]*)', re.S)
8 +ip_pattern = re.compile(r'inet ([^.]*\.[^.]*\.[^.]*\.[0-9]*)', re.S)
9 bssid_pattern = re.compile('.*Access Point: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
10 bitrate_pattern = re.compile('.*Bit Rate[=:](.*?/s)', _re_mode)
11 opmode_pattern = re.compile('.*Mode:(.*?) ', _re_mode)