http://www.perlmonks.org?node_id=1190836

Arik123 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks!

I do

$string =~ /$_/

and it matches. I do

$string =~ /\b$_\b/

and it doesn't match, for the same values of $string and $_. I think it should match, since there's a hyphen or a dot after $_ in $string, which I think should match \b. Both $string and $_ are Unicode. Could it be that \b doesn't function for Unicode strings?