(reftex-change-label): add `A-Z' to char class in regexp.

This commit is contained in:
Carsten Dominik 2000-02-04 10:04:00 +00:00
parent ce1a4cb24a
commit 9e9f557f44

View file

@ -2,7 +2,7 @@
;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>
;; Version: 4.10
;; Version: 4.11
;;
;; This file is part of GNU Emacs.
@ -169,7 +169,7 @@ No active TAGS table is required."
(setq to (read-string (format "Replace label %s with: "
from))))
(reftex-query-replace-document
(concat "\\\\\\(label\\|[a-z]*ref\\){" (regexp-quote from) "}")
(concat "\\\\\\(label\\|[a-zA-Z]*ref\\){" (regexp-quote from) "}")
(format "\\\\\\1{%s}" to))))
(defun reftex-renumber-simple-labels ()