From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: string-match bug? Date: Wed, 09 Dec 2009 16:33:41 -0500 Organization: UseNetServer.com Message-ID: References: <4b1d1a48$0$278$14726298@news.sunsite.dk> <4b1d1e3d$0$276$14726298@news.sunsite.dk> <4B1D6773.3000509@easy-emacs.de> <4B1F5A38.1030703@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260394849 21712 80.91.229.12 (9 Dec 2009 21:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Dec 2009 21:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 09 22:40:43 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 1NIUGz-00081x-Fe for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Dec 2009 22:40:37 +0100 Original-Received: from localhost ([127.0.0.1]:34694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIUGz-0000Pt-CR for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Dec 2009 16:40:37 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!TEKSAVVY.COM-Free-a2kHrUvQQWlmc!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:t8+QSV6LeXWZ/Tff2tWO1g7QxvY= Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 19 Original-X-Trace: 257134b2017b56b5d26e806091 Original-Xref: news.stanford.edu gnu.emacs.help:175462 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:70536 Archived-At: > But simply by convention, isn't it? No: it's the most consistent behavior, i.e. a natural consequence of the usual rules obeyed by regular expressions. > Aren't > (string-match "" "a") > and > (string-match "" "") > different cases in some perspective? How 'bout (string-match "b" "ba") vs (string-match "b" "b") -- Stefan