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

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

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


From: Lennart Borgman (gmail)
Subject: Re: Issue with rx: (rx (and anything anything)) seems incorrect
Date: Sat, 30 Jun 2007 00:20:54 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666

Nick Alexander wrote:
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?


I think that "." does not match newline.




reply via email to

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