diff options
author | 2008-06-06 18:25:57 +0000 | |
---|---|---|
committer | 2008-06-06 18:25:57 +0000 | |
commit | fab9160ca23ba7dad5ab1fa896aae1a155155d33 (patch) | |
tree | 6eb3f09b975f8a88d29e4bb6ad8848e957a8c8b5 | |
parent | Make the timer configurable. (diff) | |
download | rbot-bugzilla-fab9160ca23ba7dad5ab1fa896aae1a155155d33.tar.gz rbot-bugzilla-fab9160ca23ba7dad5ab1fa896aae1a155155d33.tar.bz2 rbot-bugzilla-fab9160ca23ba7dad5ab1fa896aae1a155155d33.zip |
Fix regex for matching bugs.
-rw-r--r-- | bugzilla.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla.rb b/bugzilla.rb index 5404bac..4c0cbd0 100644 --- a/bugzilla.rb +++ b/bugzilla.rb @@ -465,7 +465,7 @@ class BugzillaPlugin < Plugin def listen(m) return if m.address? return unless lurk?(m) - return if m.message !~ /\bbug(?:\b.*\b)?#?([0-9]+)/i + return if m.message !~ /\bbug(?:\b[[:space:]]*\b)?#?([0-9]+)/i bugno = $1 zilla = get_zilla(m) m.reply zilla.summary(bugno) |