summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/lastfm.rb
diff options
context:
space:
mode:
authorSpencer Rinehart <anubis@overthemonkey.com>2009-03-09 12:07:38 -0400
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-03-09 20:31:38 +0100
commit07edf3c56db6d05346a3e2dbfff12698e543c090 (patch)
treeb2bd58a94a2765deb2ae115919062930c69632e5 /data/rbot/plugins/lastfm.rb
parent6c0c869e08dd790cd8ffea15514e73d62aadb1ec (diff)
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.
Diffstat (limited to 'data/rbot/plugins/lastfm.rb')
0 files changed, 0 insertions, 0 deletions