my $target = "another"; $target =~ /other/; # this matches $target =~ /\bother/; # this doesn't