From 702b7473039647ab03d9ee635200787b692540f0 Mon Sep 17 00:00:00 2001 From: Sean Takats Date: Wed, 28 Jan 2009 18:42:20 +0000 Subject: [PATCH] BibTeX author delimiter ("and") is now case insensitive on import. --- translators/BibTeX.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translators/BibTeX.js b/translators/BibTeX.js index 997a4cc648..9a0495020a 100644 --- a/translators/BibTeX.js +++ b/translators/BibTeX.js @@ -1557,7 +1557,7 @@ function processField(item, field, value) { item.publicationTitle = value; } else if(field == "author" || field == "editor") { // parse authors/editors - var names = value.split(" and "); + var names = value.split(/ and /i); // now case insensitive for each(var name in names) { item.creators.push(Zotero.Utilities.cleanAuthor(name, field, (name.indexOf(",") != -1)));