v.22.9Bug Fix

Fix for host_regexp functionality in /etc/hosts resolution

In #40595 it was reported that the host_regexp functionality was not working properly with a name to address resolution in /etc/hosts. It's fixed. #40769 (Arthur Passos).