Re: [Last-Call] Language tags and YANG

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

 



On 2022-06-30 20:27, Carsten Bormann wrote:

Note that
[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*
is a bit more than a length restriction, it is also defining the characters that can be used in a language tag.

Well, to be precise, it is a bit more and a bit less than a length restriction. It restricts the length of each subtag to 8 or less ASCII letters/digits, with intervening hyphens, but it does not impose any length restriction on the overall tag.

For further details on length considerations, if you have the time please see
https://www.rfc-editor.org/rfc/rfc5646.html#section-4.4

I would think that having that as a YANG data type would be good, but of course I have no opinion whether this needs to be in 6991bis.

Agreed.

Regards,   Martin.

--
last-call mailing list
last-call@xxxxxxxx
https://www.ietf.org/mailman/listinfo/last-call




[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Mhonarc]     [Fedora Users]

  Powered by Linux