From 6d723d7e8c85c64ddb7c7c04215df8f948022633 Mon Sep 17 00:00:00 2001 From: aurimasv Date: Thu, 22 Mar 2012 16:41:50 -0500 Subject: [PATCH] This should cover more dashes. E.g. "DEANE-PETER BAKER" at http://onlinelibrary.wiley.com/doi/10.1111/j.1468-5930.2011.00548.x/abstract --- chrome/content/zotero/xpcom/utilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index bdf52ace7..73aa39e98 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -628,7 +628,7 @@ Zotero.Utilities = { "down", "as"]; // this may only match a single character - const delimiterRegexp = /([ \/\-–—])/; + const delimiterRegexp = /([ \/\u002D\u00AD\u2010-\u2015\u2212\u2E3A\u2E3B])/; string = this.trimInternal(string); string = string.replace(/ : /g, ": ");