diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index f9fb84482..0b567d801 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -524,7 +524,7 @@ Zotero.Utilities.prototype.md5 = function(strOrFile, base64) { * @return {Integer[]} Start and end pages */ Zotero.Utilities.prototype.getPageRange = function(pages) { - const pageRangeRegexp = /^\s*([0-9]+)-([0-9]+)\s*$/ + const pageRangeRegexp = /^\s*([0-9]+) ?[-\u2013] ?([0-9]+)\s*$/ var pageNumbers; var m = pageRangeRegexp.exec(pages);