summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-06-30 18:49:41 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-06-30 18:49:41 +0000
commitf61fd6b7c3de95c2fafceca66c153933b2535b4e (patch)
tree2f9a96004b71b4ec8e40eeb2ae4003fdf9be5b08 /lisp/emacs-lisp
parentbd1bb1c7f2b8a527686ae0f87631f70480211b7c (diff)
downloademacs-f61fd6b7c3de95c2fafceca66c153933b2535b4e.tar.gz
(rx-constituents): Fix up `anything'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/rx.el2
1 files changed, 1 insertions, 1 deletions
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