Index: emacs/lisp/emacs-lisp/regexp-opt.el
diff -c emacs/lisp/emacs-lisp/regexp-opt.el:1.27
emacs/lisp/emacs-lisp/regexp-opt.el:1.28
*** emacs/lisp/emacs-lisp/regexp-opt.el:1.27 Mon Dec 6 15:12:29 2004
--- emacs/lisp/emacs-lisp/regexp-opt.el Thu Jun 16 16:14:56 2005
***************
*** 116,122 ****
(defun regexp-opt-depth (regexp)
"Return the depth of REGEXP.
This means the number of non-shy regexp grouping constructs
! \(parenthesised expressions) in REGEXP."
(save-match-data
;; Hack to signal an error if REGEXP does not have balanced parentheses.
(string-match regexp "")
--- 116,122 ----
(defun regexp-opt-depth (regexp)
"Return the depth of REGEXP.
This means the number of non-shy regexp grouping constructs
! \(parenthesized expressions) in REGEXP."
(save-match-data
;; Hack to signal an error if REGEXP does not have balanced parentheses.
(string-match regexp "")
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs