]> git.donarmstrong.com Git - org-ref.git/blobdiff - org-ref.el
adjusted cite link re to fix issue #23
[org-ref.git] / org-ref.el
index cc3ac5f65ef84530de44d446168f60b0b8cb1e8f..fefd8317a0387d5cba569ef98fbff7ba15c82bc0 100644 (file)
@@ -326,7 +326,7 @@ You will see a message in the minibuffer when on a cite, ref or label link."
                       (replace-regexp-in-string "\*" "\\\\*" x)
                       )
                     org-ref-cite-types "\\|") "\\)"
                       (replace-regexp-in-string "\*" "\\\\*" x)
                       )
                     org-ref-cite-types "\\|") "\\)"
-  ":\\([a-zA-Z0-9-_:]*,?\\)*"))
+  ":\\([a-zA-Z0-9-_:\\.]*,?\\)*"))
 
 
 (setq org-ref-label-re
 
 
 (setq org-ref-label-re
@@ -504,7 +504,8 @@ Format according to the type in `org-ref-bibliography-entry-format'."
                 (loop for file in org-ref-bibliography-files do
                       (if (org-ref-key-in-file-p key (file-truename file))
                           (throw 'result file)
                 (loop for file in org-ref-bibliography-files do
                       (if (org-ref-key-in-file-p key (file-truename file))
                           (throw 'result file)
-                        (message "%s not found in %s" key (file-truename file))))))
+                        (message "%s not found in %s"
+                                 key (file-truename file))))))
 
     (with-temp-buffer
       (insert-file-contents file)
 
     (with-temp-buffer
       (insert-file-contents file)