better regex for obsolete proxyresolv script (thx yhzarcali)

closes #11