Subject: bug#42045: 27.0.91; display-format-alist for X11 does not recognize DISPLAY with IPv6 literal

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 12 Jun 2021 15:12:25 +0200

Robert Pluim <[email-masked]> writes:

> That regexp won't work, since now youʼre requiring the '[' and ']' to
> be present.
>
> "\\`\\[?[^]]*\\]?:[0-9]+\\(\\.[0-9]+\\)?\\'" would fix that, but since
> we donʼt really care what comes before the ':', so would
>
> "\\`.*:[0-9]+\\(\\.[0-9]+\\)?\\'"

I think that makes sense?  So I've pushed Robert's regexp to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no