www

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

commit dd5132e10576cdb71151758eb05fe475c53d4049
parent 111115a1001d341865bb986581ec299cfb481bae
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon,  6 Jan 2014 06:51:41 -0800

Merge pull request #434 from adam3smith/4.0

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]; }