[Cbor] Regular expression flavors

Carsten Bormann <cabo@tzi.org> Fri, 14 June 2019 11:07 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 2C439120271 for <cbor@ietfa.amsl.com>; Fri, 14 Jun 2019 04:07:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id DpRenDIdVb15 for <cbor@ietfa.amsl.com>; Fri, 14 Jun 2019 04:07:23 -0700 (PDT)
Received: from smtp.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 118031202A9 for <cbor@ietf.org>; Fri, 14 Jun 2019 04:07:23 -0700 (PDT)
Received: from [] (p54A6CA4C.dip0.t-ipconnect.de []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id 45QHr75HQJzyv8; Fri, 14 Jun 2019 13:07:19 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
X-Mao-Original-Outgoing-Id: 582203225.947556-909fbd59479fd3e7796eb2fce439f8ac
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Fri, 14 Jun 2019 13:07:18 +0200
Message-Id: <0F4736CD-9C56-409E-AC69-E40FDEB663BE@tzi.org>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/WAjkCOjLmoWJCnMxjTvgYOkguLw>
Subject: [Cbor] Regular expression flavors
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Jun 2019 11:07:30 -0000

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.


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-

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