[sr #111221] _AC_DEFINE_UNQUOTED has broken regex

Eric Blake <[email protected]> Mon, 7 Apr 2025 11:59:11 -0400 (EDT)
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #1, sr #111221 (group autoconf):

[comment #0 original submission:]
> Captured from
> https://lists.gnu.org/archive/html/bug-m4/2025-04/msg00027.html. It looks
> like the existing regex of _AC_DEFINE_UNQUOTED searches for the literal
> 8-byte string "(|{|@S|@" when it really wanted to search for the alternation
> of any of the following three strings "(" "{" "@S|@".

Correcting my typo: I'm referring to the second half with quadrigraph @(:@ for
{ (but typed @S|@ which is for $, from the first half).




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111221>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ/P2TwAKCRCqLAuaBUf3
TrGPAPsGmn5jjJ/pD2lcc9xfCcehlwAs1batq5h0+SLVqb0uKAD/fzach4ch9EEt
F7EaEqMLb/uUG+GDZ+fg1ggmOuwodAU=
=whPI
-----END PGP SIGNATURE-----