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


in reply to \b in Unicode regex

Do you mean
$string =~ /$_/; $string =~ /\b$_\b/;
or do you really mean
$string =~ /\Q$_\E/; $string =~ /\b\Q$_\E\b/;
As soon as your variable contains Metacharacters, they are not the same. See quotemeta, Quoting metacharacters.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.