commit 49ecb8ecac28e181bb27fee1da48417149ec8790 parent 875567dbc96dded808219c65f30d3a80579a1611 Author: adam3smith <karcher@u.northwestern.edu> Date: Sun, 5 Jan 2014 10:53:30 -0700 slightly adjust regex Diffstat:
| M | chrome/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*((PMC)?[0-9]+)/.exec(extra); + m = /(?:^|\n)PMCID:\s*((?:PMC)?[0-9]+)/.exec(extra); if(m) cslItem.PMCID = m[1]; }