;;; reftex-parse.el --- parser functions for RefTeX
-;; Copyright (C) 1997-2014 Free Software Foundation, Inc.
+;; Copyright (C) 1997-2016 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@science.uva.nl>
;; Maintainer: auctex-devel@gnu.org
(when (or (null reftex-label-ignored-macros-and-environments)
;; \label{} defs should always be honored,
;; just no keyval style [label=foo] defs.
- (string-equal "\label{" (substring (reftex-match-string 0) 0 7))
+ (string-equal "\\label{" (substring (reftex-match-string 0) 0 7))
(if (and (fboundp 'TeX-current-macro)
(fboundp 'LaTeX-current-environment))
(not (or (member (save-match-data (TeX-current-macro))
(member "biblatex" TeX-active-styles)
;; poor-man's check...
(save-excursion
- (re-search-forward "^[^%]*\\\\usepackage.*{biblatex}" nil t))))
+ (re-search-forward "^[^%\n]*?\\\\usepackage.*{biblatex}" nil t))))
;;;###autoload
(defun reftex-locate-bibliography-files (master-dir &optional files)