From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Determining existence of text following point Date: Tue, 18 May 2021 13:26:12 +0200 Message-ID: References: <87cztpx8oz.fsf@ericabrahamsen.net> <87zgwsx5r3.fsf@ericabrahamsen.net> <20210518110743.GC11623@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3923"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 13:26:59 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lixsJ-0000pI-Ep for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 13:26:59 +0200 Original-Received: from localhost ([::1]:60054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lixsI-0007lV-0l for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 07:26:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lixrh-0007lA-MO for help-gnu-emacs@gnu.org; Tue, 18 May 2021 07:26:22 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:58767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lixrf-0003RH-PO for help-gnu-emacs@gnu.org; Tue, 18 May 2021 07:26:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621337172; bh=Niqy2Jctzq4Lp4D3r718rT3O0Blxh5mecOjm7tJRwdc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Rge6XDrUpLM5v/mlwA3nKrCjh8C0YCxH3h0nrfUmdfaZVFahoSUxa4ZdxJ6yMkBqQ oNkVWkew3thUc068ERVpwoCFnhduE5lKGhn2+yJQWyTaT6reuQUctSE7oe1WEVFItJ rpeZLzBF/HVgaaaDTrRUi76nC48FKiB+Hb+3SHX8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Tue, 18 May 2021 13:26:12 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20210518110743.GC11623@tuxteam.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:j2JzW9lFd1w2mKkHrHFLwxzSL97oiOlrmaZaYF7myY2o3bzTpnYgZjp04mS09ZgWC7wLm FaRFI/vF4nBq6OtQ4CgIApBbbOCvU6y4MMzSTsGobW/ne3Wt2Mef+kdF1UH7Nki15AADIgrRnaUn rHxyydgzcGKNldvZl6Ekb2qQo9LPoJd3ZzLe0cwzAEYBwtlle4M79HAkg13mFrq1JZvq7w/piWs5 AZ9sjrbJZslxRlQReYU7Cy+YeiAsNh8YJEF6kqLVWMQOhWYrwnpeH2iVwpGlaC07LJrBm8P8046H NI= X-UI-Out-Filterresults: notjunk:1;V03:K0:klWkZK7nKa4=:jfUcg7CSRvR0AUgmp1O5V6 zTHKCJWv/NP290GgrRrCicjHIe3V/iPqBeYw227m+pMRSyB0zkMdihNWljtIoTRKycld0srZ6 htS1kO2xOKFmKlr5hf2iCIm7M8IZlJvNqDOXyLNAhpF6wAUl1LhXDHf6bxWD70QRw1uIaES7z dq6yvYtG+QzZ23i2TgzBW80KWjAInA4seTNpLTtUU08Fv6NLsRvYentkcZHuAgt6dWYcsCxD7 5yEkNc3vsiBFVgIJXphsq9Nx0L2FhnD26SslAlY7WWLOlM1Ae5wYBgHDq1msmsu0kUUIEpt0i oIBQhoZCMlHLDf4noFahNf6Uzn9BS3L/5kP7F+V1LBdaD5GjtouvGQK3+XBmU9+rmVi2zTwVB ux9BWTxZTc+BwNWZbWKu5sz2y7ciCCmqo88ya7yoyTRUpzLoi90GTpHCWjPKcijKwuHAmvpzt CWltvBjCUXLAWOfQZUOT5qh3sVcgYVYyKeOkyzCXn+LU6kTc9R/va89hOLDIFmKHe732KDZRc 9a+ndOsEUK8euPCOetJGB+iuWLRd/zO4Va/1KvIQs0fYpO5yzD6d9LwISyRkjYBMg4qKLRnWs cNNGBBLNBp/U08b/849euH4V598bile/XWxv7npaW60F/+Fni99qjFwPvJc2NovPXmfVhoC1m +HAQD8GolKwbTDYwIU9grhLw+42ldWtXXkevcnbtpY8Ou8MZPsHxgUXI0iDtnBSFNTKbVpb6f zu0YdrZplwBNo60cJLi3tiXpC9+LSHv9cdIAvfmU217eKUv97LaF2QyQnqRP+voLsaBKCBmj Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129867 Archived-At: =2D-------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy > Sent: Tuesday, May 18, 2021 at 11:07 PM > From: tomas@tuxteam.de > To: help-gnu-emacs@gnu.org > Subject: Re: Determining existence of text following point > > On Tue, May 18, 2021 at 12:08:42PM +0200, Christopher Dimech wrote: > > How is it that the following returns nil? > > > > (setq sa (string-match "[^[:blank:]]" " ")) > > Because you stated to match any non-blank character and there > are only blank characters to match. The docstring for string-match is "Return index of start of first match for REGEXP in STRING, or nil." I find the description different from what string-match actually returns. > Cheers > - t >