Does not handle networks named with '-'
Closed this issue · 2 comments
rsaxvc commented
I'm pretty sure the following regex from scheme.py doesn't handle multiple '-' characters:
scheme_re = re.compile(r'iface\s+(?P<interface>wlan\d?)(?:-(?P<name>\w+))?')
For example, Scheme.find("wlan0", "WOOP-DOOP") will never find anything.
rsaxvc commented
Try this instead:
iface\s+(?Pwlan\d?)(?:-(?P[-\w]+))?
rockymeza commented
Hi. Sorry for taking forever. I think this should be fixed 0.3.7