help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re-search-forward


From: Andreas Röhler
Subject: re-search-forward
Date: Thu, 20 Oct 2022 10:55:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

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 via email to

[Prev in Thread] Current Thread [Next in Thread]