Subject: Re: bug#72425: 29.2.50; substring (and other PCM styles) fails with candidates containing newlines

From: Spencer Baugh <[email-masked]>
Date: Fri, 02 Aug 2024 15:32:00 -0400

Drew Adams <[email-masked]> writes:

>> This is due to a regex using "." when it should use a pattern which
>> actually matches anything, such as "[^z-a]".  A patch to fix will
>> follow.
>
> "[^z-a]" doesn't match any char.
>
> "\\(.\\|[\n]\\)" matches any char.

(rx anychar) expands to [^z-a], I'm just following that.  File a
different bug if you think rx is wrong, and if that gets changed, I'll
change this patch as well.