summaryrefslogtreecommitdiff
path: root/parsebib.el
diff options
context:
space:
mode:
Diffstat (limited to 'parsebib.el')
-rw-r--r--parsebib.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsebib.el b/parsebib.el
index 077487f..c97ce26 100644
--- a/parsebib.el
+++ b/parsebib.el
@@ -43,8 +43,8 @@
(require 'cl-lib)
(require 'subr-x) ; for `string-join'.
-(defconst parsebib--bibtex-identifier "[^^\"@\\&$#%',={}() \t\n\f]*" "Regexp describing a licit BibTeX identifier.")
-(defconst parsebib--key-regexp "[^^\"@\\&$#%',={} \t\n\f]*" "Regexp describing a licit key.")
+(defconst parsebib--bibtex-identifier "[^^\"@\\&$#%',={}() \t\n\f]+" "Regexp describing a licit BibTeX identifier.")
+(defconst parsebib--key-regexp "[^^\"@\\&$#%',={} \t\n\f]+" "Regexp describing a licit key.")
(defconst parsebib--entry-start "^[ \t]*@" "Regexp describing the start of an entry.")
;; Emacs 24.3 compatibility code.