$theVar = "This is a test. Beeeeeeeeeeeeeeep";
if ($theVar =~ /eeep$/) {
(print "Match One\n"); # Would Match
}
if ($theVar =~ /eeep $/ /) {
(print "Match Two\n"); # Would Not Match
}
if ($theVar =~ /eee$/) {
(print "Match Three\n"); # Would Not Match
}