[services/textproc/brain] fix mentions at end-of-string (/$/ != /\b/)

If you ended a message with $bot, it would not trigger the brain. This fixes that behavior.