reaction: fix trigger regex to work with non-alphanumeric start/end.
authorSpencer Rinehart <anubis@overthemonkey.com>
Mon, 9 Mar 2009 16:07:38 +0000 (12:07 -0400)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 9 Mar 2009 19:31:38 +0000 (20:31 +0100)
commit07edf3c56db6d05346a3e2dbfff12698e543c090
treeb2bd58a94a2765deb2ae115919062930c69632e5
parent6c0c869e08dd790cd8ffea15514e73d62aadb1ec
reaction: fix trigger regex to work with non-alphanumeric start/end.

only match on word boundaries at an end of a trigger if the character at
that end of the trigger is a word character.  In other words, the
trigger "test" should require word boundaries on each side, but the
trigger "@test" should only require one on the right side.
data/rbot/plugins/reaction.rb