emacs-pretest-bug
[Top][All Lists]
Advanced

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

Issue with rx: (rx (and anything anything)) seems incorrect


From: Nick Alexander
Subject: Issue with rx: (rx (and anything anything)) seems incorrect
Date: Fri, 29 Jun 2007 11:48:41 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (darwin)

In GNU Emacs 22.0.95.1 (powerpc-apple-darwin8.9.0, Carbon Version 1.6.0)
 of 2007-03-15 on g5.tokyo.stp.isas.jaxa.jp
Windowing system distributor `Apple Inc.', version 10.4.9
configured using `configure  
'--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon' 
'--without-x' '--libexecdir=/Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 
'CFLAGS=-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk 
-DUSE_ATSUI -DUSE_MAC_TSM''

Hi all,

The following is expected:
(rx (and ?a ?b)) => "\\(?:ab\\)"

The following is not:
(rx (and anything anything)) => "\\(?:.\\|
.\\|
\\)"

I have no idea why the newlines are inserted, nor why there are choice
bars (|).  Why not just "\\(?:..\\)" as before?

Nick Alexander




reply via email to

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