Require at least 4 digits for the prefix
This commit is contained in:
parent
1477893a84
commit
662ab87d7e
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ Zotero.Utilities = {
|
||||||
throw "cleanDOI: argument must be a string";
|
throw "cleanDOI: argument must be a string";
|
||||||
}
|
}
|
||||||
|
|
||||||
return x.match(/10\.[^\s\/]+\/[^\s]*[^\s\.,]/);
|
return x.match(/10\.[0-9]{4,}\/[^\s]*[^\s\.,]/);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue