Subject: Re: bug#69714: [PATCH] Improve ert-font-lock assertion parser

From: Mattias Engdegård <[email-masked]>
Date: Mon, 1 Apr 2024 10:17:50 +0200

1 apr. 2024 kl. 10.04 skrev Mattias Engdegård <[email-masked]>:

>   (rx "("
>       (* whitespace)
>       (* (regexp ert-font-lock--face-symbol-re)
>          (+ whitespace)))
>       ")")

Sorry, that was not very well thought-out, was it? Try

  (rx "("
      (* whitespace)
      (? (regexp ert-font-lock--face-symbol-re)
         (* (+ whitespace)
            (regexp ert-font-lock--face-symbol-re))
         (* whitespace))
      ")")

instead. Not as pretty but should actually work.