From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: string-match: \` and \= do not match when START is non-zero Date: Fri, 25 Apr 2003 22:31:54 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3EA820CB.9000307@yahoo.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1051324337 23076 80.91.224.249 (26 Apr 2003 02:32:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2003 02:32:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Apr 26 04:32:15 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 199FTj-0005zL-00 for ; Sat, 26 Apr 2003 04:31:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 199Fai-0000iZ-00 for ; Sat, 26 Apr 2003 04:39:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199FUK-0006V7-0A for emacs-devel@quimby.gnus.org; Fri, 25 Apr 2003 22:32:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 199FTy-0006E6-00 for emacs-devel@gnu.org; Fri, 25 Apr 2003 22:32:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 199FTs-0005s6-00 for emacs-devel@gnu.org; Fri, 25 Apr 2003 22:32:01 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199FTm-0005lu-00 for emacs-devel@gnu.org; Fri, 25 Apr 2003 22:31:54 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 199FTm-0003Zz-00; Fri, 25 Apr 2003 22:31:54 -0400 Original-To: Kevin Rodgers In-reply-to: <3EA820CB.9000307@yahoo.com> (message from Kevin Rodgers on Thu, 24 Apr 2003 11:37:15 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13458 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13458 \` or \= should match the empty string at index START in STRING. \' certainly should only match at the beginning of the string, just as it only matches at the beginning of the buffer. For \= I am not sure. I am not sure whether the START value in string-match is really analogous to point in a buffer. On the other hand, currently \= is meaningless in a string, and it might do no harm to give it this meaning. I won't try to implement it myself.