www

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

commit 6d723d7e8c85c64ddb7c7c04215df8f948022633
parent b3f8330498dd55b7d0f0e2f8db5d43adab28552e
Author: aurimasv <aurimas.dev@gmail.com>
Date:   Thu, 22 Mar 2012 16:41:50 -0500

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

Diffstat:
Mchrome/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 @@ -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, ": ");