From afb3499af63d7011d2054ac0a6ec4dd0124061be Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 21 Jun 2012 08:03:20 +0200 Subject: [PATCH] tumblr: escape the non-range dash in the group regex --- data/rbot/plugins/tumblr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/rbot/plugins/tumblr.rb b/data/rbot/plugins/tumblr.rb index 57675ac4..515dc479 100644 --- a/data/rbot/plugins/tumblr.rb +++ b/data/rbot/plugins/tumblr.rb @@ -188,5 +188,5 @@ plugin.map 'tumblr configure [:channel]', :action => :configuration plugin.map 'tumblr deconfigure [:channel]', :action => :deconfigure plugin.map 'tumblr configure [:channel] :email :pwd [:group]', :action => :configure, - :requirements => {:channel => Regexp::Irc::GEN_CHAN, :email => /\S+@\S+/, :group => /[A-Za-z-.]+/} + :requirements => {:channel => Regexp::Irc::GEN_CHAN, :email => /\S+@\S+/, :group => /[A-Za-z\-.]+/} -- 2.39.2