commit 562ea570c5e8c9366a3a6c7dcf7e90995aadef2d
parent 592f67be9f14b4c72d921ac062131a235a3a1f69
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 10 Sep 2010 13:44:17 +0000
Simplified ajlyon's regexp tweak, but detectCode is still failing for me on a page without an "~S[0-9]" (http://forums.zotero.org/discussion/14023/#Item_6)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/translators/Library Catalog (InnoPAC).js b/translators/Library Catalog (InnoPAC).js
@@ -3,12 +3,12 @@
"translatorType":4,
"label":"Library Catalog (InnoPAC)",
"creator":"Simon Kornblith and Michael Berkowitz",
- "target":"(search~|\\/search\\?|(a|X|t|Y|w)\\?|\\?(searchtype|searchscope)|frameset&FF|record=b[0-9]+~?S?[0-9]?|/search/q\\?)",
+ "target":"(search~|\\/search\\?|(a|X|t|Y|w)\\?|\\?(searchtype|searchscope)|frameset&FF|record=b[0-9]+(~S[0-9])?|/search/q\\?)",
"minVersion":"1.0.0b3.r1",
"maxVersion":"",
"priority":200,
"inRepository":true,
- "lastUpdated":"2009-08-10 03:38:00"
+ "lastUpdated":"2010-09-10 13:40:50"
}
function detectWeb(doc, url) {