Re: Blog: YANG Really Takes Off in the Industry

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

 



> The expression that controls the permissible format of IPv6 addresses in
> yang-types is of this ilk.
> "       type string {
>          pattern '((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}'
>                + '((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|'
>                + '(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}'
>                + '(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))'
>                + '(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))';
>          pattern '(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|'
>                + '((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)'
>                + '(/.+)'; "

when the bsi botched modula-2 standardisation and destroyed the language [0],
professor wirth pinned to his wall the a4 page it took them to describe the
null statement.

this piece of dystopian beauty is worthy of a wall.

randy

--

[0] http://www.scifac.ru.ac.za/cspt/sc22wg13.htm





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