Subject: [Cbor] Regular expression flavors

From: Carsten Bormann <[email-masked]>
Date: Fri, 14 Jun 2019 13:07:18 +0200

Over in the YANG working group (which calls itself “netmod”), there is an interesting discussion about regex flavors and how W3C XSD regexes are unloved by implementers and prompt open rebellion.

https://mailarchive.ietf.org/arch/browse/netmod/?gbt=1&index=WmiVRg1pEEI_DNupsXnMFCWcwaU

I think this discussion is also relevant for CDDL, even though we already have defined our escape hatch [1].

[1]: https://tools.ietf.org/html/rfc8610#section-3.8.3.2

Still, since W3C XSD Appendix F [2] is our default (and currently only defined) regex flavor, we are likely to run into similar problems with unruly open source communities, so we’d better watch carefully what this does to YANG.  Maybe we also can mount some common efforts, as is being discussed in the referenced thread.

[2]: https://www.w3.org/TR/xmlschema-2/#regexs

Grüße, Carsten