From 31cacf10d7e6536b29b75118c99aeb2675691337 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 27 Jan 2010 09:51:16 +0000 Subject: [PATCH] Fix regexp in previous commit --- chrome/content/zotero/xpcom/fulltext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 00a164dca..7116fb8a5 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -463,7 +463,7 @@ Zotero.Fulltext = new function(){ if (!cacheFile.exists()) { var msg = file.leafName + " was not indexed"; - if (!file.leafName.match(/^[\u0000-\u007F]$/)) { + if (!file.leafName.match(/^[\u0000-\u007F]+$/)) { msg += " -- PDFs with filenames containing extended characters cannot currently be indexed due to a Firefox limitation"; } Zotero.debug(msg, 2);