RFC Errata System <[email protected]> wrote:
> The following errata report has been submitted for RFC7317,
> "A YANG Data Model for System Management".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata_search.php?rfc=7317&eid=4795
> 
> --------------------------------------
> Type: Editorial
> Reported by: Kaja Mohideen <[email protected]>
> 
> Section: 5
> 
> Original Text
> -------------
> typedef crypt-hash {
>        type string {
>          pattern
>            'RFCORIGINAL_TEXT$.*'
>          + '|$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}'
>          + '|$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}'
>          + '|$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}';
>        }
> 
> Corrected Text
> --------------
> typedef crypt-hash {
>   type string {
>     pattern
>         '$0$.*'
>       + '|$1$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}'
>       + '|$5$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}'
>       + '|$6$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}';
>   }
>   
> 
> Notes
> -----
> Character $ has special meaning in regular expression.

No, "$" is not special in the regular expression dialect used in YANG
(XML Schema).


/martin

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to