I see. I hadn't considered that. Good call.
Here's what you should really, do, though:
$text =~/\bme\b/ - Would not match the "me" in name. The "\b" means there must not be text next to the match so "me" must be by itself.
Just use that in your trigger, and it will only match "bend" when there's nothing else around it. So it will match "Go ahead and bend my mind", but not "You're such a crazy mindbender".
|