emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/regexp-opt.el


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/regexp-opt.el
Date: Thu, 16 Jun 2005 12:14:57 -0400

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 "")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]