From 62f5460b315213fe6e1d738a3dbc5ffbb7d6ce87 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 30 Jun 2008 10:47:03 +0200 Subject: search plugin: fix gcalc regexp --- data/rbot/plugins/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb index 28e3c8a3..b0decd51 100644 --- a/data/rbot/plugins/search.rb +++ b/data/rbot/plugins/search.rb @@ -18,7 +18,7 @@ GOOGLE_SEARCH = "http://www.google.com/search?oe=UTF-8&q=" GOOGLE_WAP_SEARCH = "http://www.google.com/wml/search?hl=en&q=" GOOGLE_WAP_LINK = /(.*?)<\/a>/im -GOOGLE_CALC_RESULT = %r{ (?:

)?(.+)(?:

)?} +GOOGLE_CALC_RESULT = %r{ (?:

)?(.+)(?:

)?} GOOGLE_DEF_RESULT = %r{

(Web definitions for .*?)
(.*?)
(.*?)\s-\s+