summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-06-01 15:31:11 +0100
committernick <nick@octopus.lan>2012-06-01 15:32:28 +0100
commit23cc2c449842614111063b1b6065567c57402291 (patch)
tree1adf5531b96b1aed12fa8c43d93a7b0adf695a39
parentf55e2789dc2eba0225b40768ca079fb167d7e9c8 (diff)
Have clipboard match any google site, not just .com
-rwxr-xr-xgetxbookgui.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/getxbookgui.tcl b/getxbookgui.tcl
index 07c683c..06cf3c7 100755
--- a/getxbookgui.tcl
+++ b/getxbookgui.tcl
@@ -3,7 +3,7 @@
package require Tk
set cmds {{getgbook "Google Book ID" "Google\nBook Preview" \
- "http*://books.google.com/*" {[&?]id=([^&]*)}} \
+ "http*://books.google.*/*" {[&?]id=([^&]*)}} \
{getabook "ISBN 10" "Amazon Look\nInside The Book" \
"http*://*amazon*/*" {/([0-9]{10})/}} \
{getbnbook "ISBN 13" "Barnes & Noble\nBook Viewer" \