question about links parsing

cage <cage-dev at twistfold.it> wrote:

> On Fri, Jul 17, 2020 at 11:45:28AM -0400, Matthew Graybosch wrote:
> If each  terms after the url  was optional i expect  the specs was
> something like:
>
> =>[<whitespace>]<URL>[<whitespace>][<USER-FRIENDLY LINK NAME>]
>

That one makes the whitespace separator between <URL> and <USER-FRIENDLY
LINK NAME> optional, making it hard to parse.

This is what you were looking for:

=>[<whitespace>]<URL>[<whitespace>[<USER-FRIENDLY LINK NAME>]]

However, I think it's reasonable to assume the ending whitespace was
unintentional and ignore it.

Postel's law:

    Be conservative in what you do, be liberal in what you accept from
others

-- 
Katarina

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200718/22cd
3695/attachment.htm>

---

Previous in thread (3 of 8): 🗣️ cage (cage-dev (a) twistfold.it)

Next in thread (5 of 8): 🗣️ cage (cage-dev (a) twistfold.it)

View entire thread.