From 6ba5725432648e818bfba26c99c42de64f255d0b Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 23 Apr 2012 00:12:24 +0100 Subject: Fixed amazon url parsing regex --- getxbookgui.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getxbookgui.tcl b/getxbookgui.tcl index 8d9467a..2596095 100755 --- a/getxbookgui.tcl +++ b/getxbookgui.tcl @@ -5,7 +5,7 @@ package require Tk set bins {{getgbook "Google Book ID" "Google\nBook Preview" \ "http*://books.google.com/*" {[&?]id=([^&]*)}} \ {getabook "ISBN 10" "Amazon Look\nInside The Book" \ - "http*://*amazon*/*" {/([0-9]{10}}} \ + "http*://*amazon*/*" {/([0-9]{10})/}} \ {getbnbook "ISBN 13" "Barnes & Noble\nBook Viewer" \ "http*://www.barnesandnoble.com/*" ""}} set binselected 0 -- cgit v1.2.3