I had forgotten the line of code about using regexp. Fixed.
modified:   modules/host_net_info.pm