Hi Carsten, I'm slightly lost :-)
Don't you have the same issue for CDDL in that the specification supports the full syntax from PCRE (which appears to be one of the much larger and more complex regex language specifications) which will force implementations to use a PCRE compatible implementation?
I think that the world needs a minimal common regex language ... but presumably that is just walking into the XKCD trap: https://xkcd.com/927/ ;-)
Rob On 04/09/2017 12:18, Carsten Bormann wrote:
I’m not going to say we have solved the underlying problem (too many flavors of regular expression) completely for CDDL, but in CDDL we are using PCRE with anchors then added: https://tools.ietf.org/html/draft-ietf-cbor-cddl-00#section-3.8.3 (And here is the implementation: h[k] = Regexp.new("\\A#{k}\\z") That should not be too hard to replicate in any language :-) Grüße, Carsten .
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
