|
From: | Brian Cully |
Subject: | Re: PROPOSAL: New function ffap-ip-at-point |
Date: | Fri, 22 Jul 2022 11:04:30 -0400 |
User-agent: | mu4e 1.6.11; emacs 28.1 |
Iñigo Serna <inigoserna@gmx.com> writes:
Parsing IPv6 addresses is much more complex: can be shortened and even one or more leading zeros from any group of hexadecimal digits couldbe removed. Too much work for this humble patch.
This is also true for IPv4: any string of zeroes may be elided, just like IPv6.
--8<---------------cut here---------------start------------->8--- ditto:~% ping 127.1 PING 127.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.030 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.033 ms --8<---------------cut here---------------end--------------->8--- -bjc
[Prev in Thread] | Current Thread | [Next in Thread] |