all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: re-search-forward
Date: Thu, 20 Oct 2022 11:56:41 +0200	[thread overview]
Message-ID: <adb9f241-1a2e-259b-915e-c86fef2c8c5c@easy-emacs.de> (raw)
In-Reply-To: <48fa9270-f237-fcec-5c7b-196a12766481@easy-emacs.de>

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
>
>



      reply	other threads:[~2022-10-20  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20  8:55 re-search-forward Andreas Röhler
2022-10-20  9:56 ` Andreas Röhler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adb9f241-1a2e-259b-915e-c86fef2c8c5c@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.