emacs-devel
[Top][All Lists]
Advanced

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

Re: master 0d5036061b5: Skip Eglot test if using very old clangd


From: João Távora
Subject: Re: master 0d5036061b5: Skip Eglot test if using very old clangd
Date: Wed, 22 Mar 2023 18:24:33 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

Robert Pluim <rpluim@gmail.com> writes:

>     João> I wonder why this is so difficult
>     João> to do with replace-regexp-in-string.
>
> Itʼs because we donʼt have a 'really-match-everything' version of '.',
> so you end up with
>
>   (replace-regexp-in-string
>    ".*version[[:space:]]+\\([0-9.]*\\)\\(.\\|[\n\r]\\)*" "\\1"
>    (shell-command-to-string "clangd --version"))
>
> which I personally donʼt like the look of.

I concur, your version looks much nicer.  Thanks again.

João



reply via email to

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