parsing server names according to libc glob