Re: [netmod] Pattern statements
Martin Bjorklund <mbj@tail-f.com> Thu, 24 August 2017 07:09 UTC
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CC10132AD0 for <netmod@ietfa.amsl.com>; Thu, 24 Aug 2017 00:09:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j1obFWFIxa8O for <netmod@ietfa.amsl.com>; Thu, 24 Aug 2017 00:09:14 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 5F5F7132ACF for <netmod@ietf.org>; Thu, 24 Aug 2017 00:09:14 -0700 (PDT)
Received: from localhost (unknown [173.38.220.57]) by mail.tail-f.com (Postfix) with ESMTPSA id 81FB61AE033A; Thu, 24 Aug 2017 09:09:11 +0200 (CEST)
Date: Thu, 24 Aug 2017 09:07:43 +0200
Message-Id: <20170824.090743.378914697216857460.mbj@tail-f.com>
To: lhotka@nic.cz
Cc: ietfc@btconnect.com, netmod@ietf.org, andy@yumaworks.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <1503517541.5001.18.camel@nic.cz>
References: <87vale1ro2.fsf@cesnet.cz> <01de01d31c2f$2a7c34a0$4001a8c0@gateway.2wire.net> <1503517541.5001.18.camel@nic.cz>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/5az2hzdi6Szu0wZbXBXmtsxcjt8>
Subject: Re: [netmod] Pattern statements
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2017 07:09:16 -0000
Ladislav Lhotka <lhotka@nic.cz> wrote: > t.petch píše v St 23. 08. 2017 v 17:28 +0100: > > ----- Original Message ----- > > From: "Ladislav Lhotka" <lhotka@nic.cz> > > Sent: Wednesday, August 23, 2017 11:53 AM > > > > > "t.petch" <ietfc@btconnect.com> writes: [...] > > > > time in base YANG before anyone noticed - it was just too complex. > > > > > > Why was it wrong? Just because it was too complex? > > > > No; it contained a definite error. > > > > This was probably in yang-types and probably around 2012, quite late in > > the day, and it stuck in my mind that so many had looked at it and > > failed to spot that it was wrong, not just that it did not cater for > > some aspects such as interface I-D. I have used it before as an example > > of over complexity > > > > I will have the e-mail filed, along with several thousand other NETMOD > > ones so I will find it later rather than sooner. > > I believe you mean the case when it was realized that "ipv4-address" and "ipv6- > address" permit also zone indices: > > https://www.ietf.org/mail-archive/web/netmod/current/msg07456.html > > We can hardly blaim the pattern expression for this though. > > Other than that, I am not aware of any reported problem concerning the "ipv6- > address" type. In fact, I even don't think the two ANDed regexs are excessively > complex. Just compare them to ABNF productions proposed for the same purpose in > RFC 3986, Appendix A. > > Lada > > PS. Yes, it's my child, so I do have a reason to feel offended. :-) Note that we had a different pattern to start with. The new pattern was added 2009-03-27, and it is still the same as in RFC 6991. The new pattern was a simplified version using AND; the old version was a single pattern. /martin
- [netmod] Query about augmenting module from submo… Ivory, William
- Re: [netmod] Query about augmenting module from s… Jan Lindblad
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Vladimir Vassilev
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Vladimir Vassilev
- Re: [netmod] Query about augmenting module from s… Ladislav Lhotka
- Re: [netmod] Query about augmenting module from s… Juergen Schoenwaelder
- Re: [netmod] Query about augmenting module from s… Andy Bierman
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Acee Lindem (acee)
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- [netmod] Pattern statements [was Re: Query about … Robert Wilton
- Re: [netmod] Query about augmenting module from s… Lou Berger
- Re: [netmod] Pattern statements [was Re: Query ab… Acee Lindem (acee)
- Re: [netmod] Query about augmenting module from s… Alex Campbell
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Juergen Schoenwaelder
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… t.petch
- Re: [netmod] Pattern statements [was Re: Query ab… Ivory, William
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… Vladimir Vassilev
- Re: [netmod] Pattern statements [was Re: Query ab… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… Juergen Schoenwaelder
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… t.petch
- Re: [netmod] Pattern statements [was Re: Query ab… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… Juergen Schoenwaelder
- Re: [netmod] Pattern statements [was Re: Query ab… Vladimir Vassilev
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… Per Hedeland
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements Martin Bjorklund