All, Regarding the oddity in the body of the notification message from the RFC Errata System (sent 2016-09-05), i.e., the replacement of "$0" with "RFCORIGINAL_TEXT", we will fix this error in the mail generation system.
As far as the erratum itself, we note that it is accurately displayed (and marked as "Rejected") on https://www.rfc-editor.org/errata_search.php?rfc=7317&eid=4795. Thank you. RFC Editor/mf On Sep 5, 2016, at 8:46 AM, Rasool, Kaja Mohideen (Nokia - IN) <[email protected]> wrote: > Ah! Didn't realize that XML Schema version of RegEx considers the whole > element and doesn't have anchors. > > Thanks for clarifying. > > // Kaja > > -----Original Message----- > From: Per Hedeland [mailto:[email protected]] > Sent: Monday, September 05, 2016 4:21 PM > To: Martin Bjorklund <[email protected]>; [email protected] > Cc: [email protected]; [email protected]; Rasool, Kaja Mohideen (Nokia - IN) > <[email protected]> > Subject: Re: [netmod] [Editorial Errata Reported] RFC7317 (4795) > > On 2016-09-05 12:34, Martin Bjorklund wrote: >> 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). > > +1. And in fact the suggested change (lost in the above text, but > present in the html version), to use '\$' instead of '$', results in invalid > expressions according the XML Schema spec. > > --Per > >> /martin >> >> _______________________________________________ >> netmod mailing list >> [email protected] >> https://www.ietf.org/mailman/listinfo/netmod >> > _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
