www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 662ab87d7e5f1a1e783866f00f5b8bb5fd73e135
parent 1477893a84add7bb10f2c7b11c0192ee50b806b4
Author: aurimasv <aurimas.dev@gmail.com>
Date:   Thu,  5 Apr 2012 01:57:22 -0500

Require at least 4 digits for the prefix

Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -262,7 +262,7 @@ Zotero.Utilities = { throw "cleanDOI: argument must be a string"; } - return x.match(/10\.[^\s\/]+\/[^\s]*[^\s\.,]/); + return x.match(/10\.[0-9]{4,}\/[^\s]*[^\s\.,]/); }, /**