* src/regex-emacs.c (forall_firstchar_1): Improve corner case
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Jan 2024 20:06:24 +0000 (15:06 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Jan 2024 20:06:24 +0000 (15:06 -0500)
commitf821ac29e0cf69316d6c721bafe9b749b47a6db3
tree8571eb46b7ff007a76398b4cd04a5b9777559d11
parent797c688f4ab33a196477fd85f83f7438d113dc7d
* src/regex-emacs.c (forall_firstchar_1): Improve corner case

Fixes a "FORALL_FIRSTCHAR: Broken assumption2!!" warning with:

    "^\\(# *\\)\\([^ ]+?\\) *: *\\(.*?\\(?:\n\\1[ \t]+.*?\\)*\\)[[:space:]]*$"
src/regex-emacs.c