From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [ncalexan@math.uci.edu: Issue with rx: (rx (and anything anything)) seems incorrect] Date: Sat, 30 Jun 2007 11:10:24 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1183216383 15372 80.91.229.12 (30 Jun 2007 15:13:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2007 15:13:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 30 17:12:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I4ed2-0002MJ-Pw for ged-emacs-devel@m.gmane.org; Sat, 30 Jun 2007 17:12:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4ecy-0007LX-DL for ged-emacs-devel@m.gmane.org; Sat, 30 Jun 2007 11:12:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I4eas-0006RT-Ng for emacs-devel@gnu.org; Sat, 30 Jun 2007 11:10:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I4eap-0006Q1-63 for emacs-devel@gnu.org; Sat, 30 Jun 2007 11:10:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4eap-0006Pv-3C for emacs-devel@gnu.org; Sat, 30 Jun 2007 11:10:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I4eam-0005Iq-KG for emacs-devel@gnu.org; Sat, 30 Jun 2007 11:10:34 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I4eae-0003c9-9K; Sat, 30 Jun 2007 11:10:24 -0400 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74066 Archived-At: Would someone please DTRT, then ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=failed version=3.1.0 To: emacs-pretest-bug@gnu.org From: Nick Alexander Date: Fri, 29 Jun 2007 11:48:41 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Issue with rx: (rx (and anything anything)) seems incorrect 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 _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug ------- End of forwarded message -------