From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: string-match bug? Date: Fri, 11 Dec 2009 00:41:23 +0100 Message-ID: References: <4B1F5A38.1030703@easy-emacs.de> <87my1sq830.fsf@not.no> <4B214B16.1030509@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260488595 25871 80.91.229.12 (10 Dec 2009 23:43:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Dec 2009 23:43:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?UTF-8?Q?Andreas_R=C3=B6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 11 00:43:08 2009 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.50) id 1NIsf6-0004IK-0d for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Dec 2009 00:43:08 +0100 Original-Received: from localhost ([127.0.0.1]:56717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIsf5-00082g-V9 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Dec 2009 18:43:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIsdr-000767-5A for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 18:41:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIsdl-0006zh-Kf for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 18:41:49 -0500 Original-Received: from [199.232.76.173] (port=55584 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIsdl-0006zK-6t for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 18:41:45 -0500 Original-Received: from mail-bw0-f215.google.com ([209.85.218.215]:47155) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIsdl-00020X-1V for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 18:41:45 -0500 Original-Received: by bwz7 with SMTP id 7so286029bwz.26 for ; Thu, 10 Dec 2009 15:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=95IefVri4tB8c/d9M4QQGaD0zCjRHS3sXOhQoGn9RN8=; b=ZG34m1f5SiJNEJGw8BTQDfOoDuvK7ufbrupqD7nZv9vD2JQGfL0mOBpFtewyiAPc73 Hs56B8jYC1GkFZxmMPEkqRGgYGgjcppmuGvtDxt7pHHdkXMnzb8RdVtTNM2A5lpqZ40b eahzFlW8CRuoZhcLHufIzU9ZiRl7QTDPGScU4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=dvmdK1JUNHAEPY+/JcHDXYp/PMjvyuks9Ic9AAB2mW83xeKMgQ92OJKw0Lw+9vEONt x22Lz5cUEftcfvnAaRDSlqOG66LaMV4BgXFa6PUbresm7FrVY5ubReRDfYBm8kdPewDl J6pF+m9jVlZ+4+bYpeYGx1n60+RDBpzQM+smQ= Original-Received: by 10.204.13.215 with SMTP id d23mr350838bka.18.1260488503529; Thu, 10 Dec 2009 15:41:43 -0800 (PST) In-Reply-To: <4B214B16.1030509@easy-emacs.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:70578 Archived-At: On Thu, Dec 10, 2009 at 20:25, Andreas R=C3=B6hler wrote: > well, isn't the first 0? > before the first would be -1 then? There's no position -1 on the string. The first place where you do find a null string is at 0. Juanma