From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: error in replace-match: "args out of range" Date: Fri, 8 Apr 2011 23:44:01 -0700 Message-ID: References: <4D90D85C.5060805@mousecar.com> <4D98EE5B.4080108@mousecar.com> <87vcytd5dn.fsf@puma.rapttech.com.au> <87k4f5d4p6.fsf@puma.rapttech.com.au> <4D9FE70A.8010806@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1302331483 14400 80.91.229.12 (9 Apr 2011 06:44:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2011 06:44:43 +0000 (UTC) Cc: Tim X , help-gnu-emacs@gnu.org To: gebser@mousecar.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 08:44:37 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q8RuO-0002Py-KM for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2011 08:44:36 +0200 Original-Received: from localhost ([127.0.0.1]:60264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8RuN-0003JW-IX for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2011 02:44:35 -0400 Original-Received: from [140.186.70.92] (port=49660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8Rtw-0003Ee-Bq for help-gnu-emacs@gnu.org; Sat, 09 Apr 2011 02:44:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8Rtv-0002wu-55 for help-gnu-emacs@gnu.org; Sat, 09 Apr 2011 02:44:08 -0400 Original-Received: from p3plsmtpa07-02.prod.phx3.secureserver.net ([173.201.192.231]:48755) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q8Rtu-0002vx-Sx for help-gnu-emacs@gnu.org; Sat, 09 Apr 2011 02:44:07 -0400 Original-Received: (qmail 30202 invoked from network); 9 Apr 2011 06:44:03 -0000 Original-Received: from unknown (209.85.212.41) by p3plsmtpa07-02.prod.phx3.secureserver.net (173.201.192.231) with ESMTP; 09 Apr 2011 06:44:03 -0000 Original-Received: by vws4 with SMTP id 4so4159033vws.0 for ; Fri, 08 Apr 2011 23:44:01 -0700 (PDT) Original-Received: by 10.52.100.65 with SMTP id ew1mr725255vdb.44.1302331441934; Fri, 08 Apr 2011 23:44:01 -0700 (PDT) Original-Received: by 10.220.186.131 with HTTP; Fri, 8 Apr 2011 23:44:01 -0700 (PDT) In-Reply-To: <4D9FE70A.8010806@mousecar.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 173.201.192.231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80730 Archived-At: On 4/8/11, ken wrote: > On 04/07/2011 07:25 PM Tim X wrote: >> This was my point of warning. It is quite possible to have >> regexps where sub expressions are not found, but the overall regexp >> succeeds. > > I'm having a hard time with that concept. Is there a small bit of > example code you could show it with? "I am\\( not\\)? a fish." -PJ