summaryrefslogtreecommitdiff
path: root/getxbookgui.tcl
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-04-23 00:12:24 +0100
committerNick White <git@njw.me.uk>2012-04-23 00:12:24 +0100
commit6ba5725432648e818bfba26c99c42de64f255d0b (patch)
treed6c1227f7d24624b58e6f1f8bef37c0aa11adfb8 /getxbookgui.tcl
parent0a115a8d8b8cc65c224ccbe5eb466c64f4716d2d (diff)
Fixed amazon url parsing regex
Diffstat (limited to 'getxbookgui.tcl')
-rwxr-xr-xgetxbookgui.tcl2
1 files changed, 1 insertions, 1 deletions
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