bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#54624: 29.0.50; textsec and ipv6 addresses


From: Mattias Engdegård
Subject: bug#54624: 29.0.50; textsec and ipv6 addresses
Date: Sun, 3 Apr 2022 19:16:25 +0200

3 apr. 2022 kl. 19.02 skrev Lars Ingebrigtsen <larsi@gnus.org>:

> The point here isn't to validate an address.  It's to say whether
> there's something suspicious in an URL.
> 
> There's nothing particularly suspicious about an URL that has an invalid
> domain part (in itself).

Fair enough. The reason I'm looking at this is that relint complained about 
some parts (repeated match of empty string) and indeed the regexps do look a 
bit inefficient.

Would you mind if I removed some ambiguity from the regexps then? Maybe even 
simplifying them to "[0-9.]+" and "[0-9a-f:]+" respectively?






reply via email to

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