Allow slash in second part of DOI, which is apparently valid (http://forums.zotero.org/discussion/10473/)
This commit is contained in:
parent
646c35648f
commit
861543d453
|
@ -8,7 +8,7 @@
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":300,
|
"priority":300,
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2009-04-07 15:48:00"
|
"lastUpdated":"2010-01-05 09:05:00"
|
||||||
}
|
}
|
||||||
|
|
||||||
var items = {};
|
var items = {};
|
||||||
|
@ -16,7 +16,7 @@ var selectArray = {};
|
||||||
|
|
||||||
// builds a list of DOIs
|
// builds a list of DOIs
|
||||||
function getDOIs(doc) {
|
function getDOIs(doc) {
|
||||||
const DOIre = /\b(10\.[\w.]+\/[^\/\s]+)\.?\b/igm;
|
const DOIre = /\b(10\.[\w.]+\/[^\s]+)\.?\b/igm;
|
||||||
const DOIXPath = "//text()[contains(., '10.')]";
|
const DOIXPath = "//text()[contains(., '10.')]";
|
||||||
|
|
||||||
DOIre.lastMatch = 0;
|
DOIre.lastMatch = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user