On Mon, Aug 28, 2017 at 12:58:59PM +0000, Xufeng Liu wrote: > > [Xufeng] [0..9] is still compliant with the XSD pattern specified by > YANG 1.0 and 1.1. Using [0..9] instead of [\d] will make the > implementations with native POSIX RegEx easier without the need for > a tool to inspect every element of the RegEx pattern.
Yes, but then \d is legal in YANG (and it is used in a couple of published RFCs). Educating _all_ module authors to write [0..9] instead of \d will likely be more expensive than improving the code of implementations that did not implement YANG entirely to accept \d. /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/> _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
