From d25d49de6649c28b3724c7a630a5e7dfe3f312cc Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 10 Mar 2013 16:58:34 -0400 Subject: [PATCH] Extract PMCID from extra field --- chrome/content/zotero/xpcom/cite.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index a19779db7e..39eb307da6 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -440,6 +440,8 @@ Zotero.Cite.System = { 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); + if(m) cslItem.PMCID = m[1]; } //this._cache[zoteroItem.id] = cslItem;