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

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

bug#53680: Endless loop in peculiar case of string-match and string-matc


From: Christian Johansson
Subject: bug#53680: Endless loop in peculiar case of string-match and string-match-p 27.02 and 28.0.50
Date: Tue, 1 Feb 2022 17:23:59 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

I see, thanks for the tip, I got it working now without endless-loop and without the CR work-around

Hälsningar / Best Regards
Christian

On 01/02/2022 14:39, Mattias Engdegård wrote:
1 feb. 2022 kl. 14.12 skrev Christian Johansson <christian@cvj.se>:
Alright, thanks for helping me find the correct regexp, this issue only 
appeared on some peculiar strings
By the way, your translation of LF into CR in order to use "$" as end-of-string 
anchor is misguided: to match at the beginning or end of a string or buffer, use \` and 
\' (in rx, string-start and string-end or bos and eos) respectively.






reply via email to

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