in reply to Re: Regex with HTML::Entities
in thread Regex with HTML::Entities

Encoding this variable together with the appropriate quoting suggested by the other monks solved the problem immediately

You should have made sure both strings were *decoded*.