diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-10-28 20:16:18 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-10-28 20:16:18 +0200 |
commit | 82eb67b40025608aa856322c9c475dc59577b4d8 (patch) | |
tree | a58ad801ce14fa33d254f75b401c02a7862c5f42 /widgets/wifi.lua | |
parent | 304fa336ed385942ad41178dc9d0b15e71d1ac2f (diff) | |
download | vicious-legacy-82eb67b40025608aa856322c9c475dc59577b4d8.tar.xz |
wifi: removed spurious bracket from SSID regexp
Diffstat (limited to 'widgets/wifi.lua')
-rw-r--r-- | widgets/wifi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/wifi.lua b/widgets/wifi.lua index 4f389d0..f2e2b7d 100644 --- a/widgets/wifi.lua +++ b/widgets/wifi.lua @@ -57,7 +57,7 @@ local function worker(format, warg) -- Output differs from system to system, some stats can be -- separated by =, and not all drivers report all stats winfo["{ssid}"] = -- SSID can have almost anything in it - string.match(iw, 'ESSID[=:]"([%w%p]+[%s%w%p]*]*)"') or winfo["{ssid}"] + string.match(iw, 'ESSID[=:]"([%w%p]+[%s%w%p]*)"') or winfo["{ssid}"] winfo["{mode}"] = -- Modes are simple, but also match the "-" in Ad-Hoc string.match(iw, "Mode[=:]([%w%-]*)") or winfo["{mode}"] winfo["{chan}"] = -- Channels are plain digits |