in reply to Re: Regexp - exact matches
in thread Regexp - exact matches

Looks to me like $LookFor is a string to be used as the regular expression. In the second line, he's building it with the contents of $srch_host as an exact match, using double quotes, so for the ending anchor $ to be included literally he has to escape it. That said, I don't think he's included enough of the code to find where the problem lies.

--isotope