www

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

commit 875567dbc96dded808219c65f30d3a80579a1611
parent 111115a1001d341865bb986581ec299cfb481bae
Author: adam3smith <karcher@u.northwestern.edu>
Date:   Sat,  4 Jan 2014 08:00:32 -0700

fix PMCID parsing

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

diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js @@ -612,7 +612,7 @@ Zotero.Cite.System.prototype = { if(typeof extra === "string") { var m = /(?:^|\n)PMID:\s*([0-9]+)/.exec(extra); if(m) cslItem.PMID = m[1]; - m = /(?:^|\n)PMCID:\s*([0-9]+)/.exec(extra); + m = /(?:^|\n)PMCID:\s*((PMC)?[0-9]+)/.exec(extra); if(m) cslItem.PMCID = m[1]; }