changeset 81671:03548d4c812b

(rx-constituents): Fix up `anything'.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 30 Jun 2007 18:49:41 +0000
parents 66d2c6718f80
children 3f6e5ebf9c3b
files lisp/ChangeLog lisp/emacs-lisp/rx.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jun 29 11:07:09 2007 +0000
+++ b/lisp/ChangeLog	Sat Jun 30 18:49:41 2007 +0000
@@ -1,3 +1,7 @@
+2007-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
+
 2007-06-29  Juanma Barranquero  <lekktu@gmail.com>
 
 	* generic-x.el (generic-define-mswindows-modes)
--- a/lisp/emacs-lisp/rx.el	Fri Jun 29 11:07:09 2007 +0000
+++ b/lisp/emacs-lisp/rx.el	Sat Jun 30 18:49:41 2007 +0000
@@ -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