From: Stefan Monnier Date: Sat, 30 Jun 2007 18:49:41 +0000 (+0000) Subject: (rx-constituents): Fix up `anything'. X-Git-Tag: emacs-pretest-23.0.90~12069 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f61fd6b7c3de95c2fafceca66c153933b2535b4e;p=emacs.git (rx-constituents): Fix up `anything'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dd0e5d17100..2dc82bf403e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-06-30 Stefan Monnier + + * emacs-lisp/rx.el (rx-constituents): Fix up `anything'. + 2007-06-29 Juanma Barranquero * generic-x.el (generic-define-mswindows-modes) diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 54f88ba3ea5..6caa77220bb 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el @@ -120,7 +120,7 @@ (| . or) ; SRE (not-newline . ".") (nonl . not-newline) ; SRE - (anything . ".\\|\n") + (anything . "\\(?:.\\|\n\\)") (any . (rx-any 1 nil rx-check-any)) ; inconsistent with SRE (in . any) (char . any) ; sregex