From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.help Subject: Re: re-search-forward Date: Thu, 20 Oct 2022 11:56:41 +0200 Message-ID: References: <48fa9270-f237-fcec-5c7b-196a12766481@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29998"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 20 12:17:05 2022 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 1olSbo-0007cY-Mt for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 12:17:04 +0200 Original-Received: from localhost ([::1]:59440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olSbn-0006D1-JE for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 06:17:03 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olSSP-0007dr-Fr for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 06:07:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olSII-0007WO-L8 for help-gnu-emacs@gnu.org; Thu, 20 Oct 2022 05:56:56 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.131]:34837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olSIG-0008Lu-8x for help-gnu-emacs@gnu.org; Thu, 20 Oct 2022 05:56:53 -0400 Original-Received: from [192.168.178.61] ([89.247.171.244]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MAflI-1owTqt3vM8-00B5dC for ; Thu, 20 Oct 2022 11:56:43 +0200 Content-Language: en-US In-Reply-To: <48fa9270-f237-fcec-5c7b-196a12766481@easy-emacs.de> X-Provags-ID: V03:K1:z5Gnoyk1TdiOUdq85XI3aU44Mk/8UydObln51ox1CqR9T7QB57i ZPwnENNGLVZg+oAufyBCOQOyzNAZpawIm7zdEu+nzgUMBjfZRVHrJnWdxesEMszO7iDTm3R MUX5QHEsPbS1mwP/1dsiFMnTzPmLp8/YlkWdZp6OKNBrFL+u0d50qEpdInfInscGktMFCuL 4WmwujbrdRrVa6nuTmyRA== X-UI-Out-Filterresults: notjunk:1;V03:K0:AgS5Q/eju9I=:sgIrnfe/RtXHjktJJNJDYs 5sPRLktIoTXhdLdQtKcBmSr/tCONn+g3IKSuqmIjkkH8dgBiOMIPMxr2ZJcT101FZIB5E9tRP H7dpnDdwxX5MnrdtsoPz79iNx/x4fTdXmERHWN50kKSum45/wzhOnjC3Poh+qc246o6lrdfZB Euqb4dWRLvj162S+dyjJsjQfTJ6acNXoNpfvuUl4WVx4DbAyR2fudUgWboweuQRQRuQsvHMtR ru1d2HA6haCow5pbbIX08fqERQWuVgoN9r34QFXLYu0mm+YNmAxBx9ACExw5CDx3OkWaL8aSl VRDelM8P7ZcFxuAITMu/y5tuljXh+wPb99OYl/s6T1otA/rrZ6IlZipns9egTh1IxonK6iOcO 6Z5fsvyLIMyzqztTApsUow9uW9eNmK7tK+kxkiTjY+T32F67hD8eq2NGC4of0aMZopHACpkyC cOs9+tmvZS4MryMS5oGyeLcAAeJEm0AW+F5j0qhtVPiQQC8oUyTm45CWtULv7vRlVpACAtik7 smBv82gG84AAmG34cem1+wXVy2T+H1yJzC5GjlCJKVliXOdgS/M0Kl8sgs2HDJxzyDhaVymgI /GJK1I9XgwTF+bzSUkQWnpPlRinG/ujoR/7933OdJOQOpg4/RdYwvfeHTeEUkOfwuhS7L8bBJ mxXNsIV+let+pqDzEuewNC0tszCkUgogakLHrSeriorTAGW/CvaCMPisyARsNvjvOWMm+EJDH 1cl+sJCZx3GWol9GwQnwTAC977RLg0wmCG9t24kLHyLZsworJQJHLCGhnrEOA0g4vvp1MYJB Received-SPF: none client-ip=212.227.126.131; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:140189 Archived-At: okay, that seems to work: (re-search-forward "[ \t]+\\c.+") Am 20.10.22 um 10:55 schrieb Andreas Röhler: > Hi, > > with code in buffer as below, expect a match of punctuation chars at > second line, but matches only third one. > > Second line is preceded by a TAB, third line asdf-SPACE-TAB-... > > > > > (re-search-forward "[     ]*\s.+" nil t 1) >     -------- > asdf     -------- > > > > GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, > cairo version 1.16.0) of 2022-09-01 > >