]> git.eshelyaron.com Git - emacs.git/commitdiff
(rx-constituents): Fix up `anything'.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 30 Jun 2007 18:49:41 +0000 (18:49 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 30 Jun 2007 18:49:41 +0000 (18:49 +0000)
lisp/ChangeLog
lisp/emacs-lisp/rx.el

index dd0e5d17100239bb8d25ced4c89b493da4b2a227..2dc82bf403e3413f38fdc267614d12a94a80102a 100644 (file)
@@ -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)
index 54f88ba3ea5259c11c7b7a0aeee09921e778e06a..6caa77220bb8f986094f8ff2e0c7fc74435af250 100644 (file)
     (|                 . 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