Re: [netmod] regular expression flavours (again)

Martin Bjorklund <mbj@tail-f.com> Thu, 13 June 2019 13:44 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 42C9D120092 for <netmod@ietfa.amsl.com>; Thu, 13 Jun 2019 06:44:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 E2p_GgXA2lX9 for <netmod@ietfa.amsl.com>; Thu, 13 Jun 2019 06:44:18 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id B3B021202AA for <netmod@ietf.org>; Thu, 13 Jun 2019 06:44:18 -0700 (PDT)
Received: from localhost (unknown [173.38.220.61]) by mail.tail-f.com (Postfix) with ESMTPSA id 8D9D41AE0331; Thu, 13 Jun 2019 15:44:15 +0200 (CEST)
Date: Thu, 13 Jun 2019 15:44:19 +0200 (CEST)
Message-Id: <20190613.154419.129224358830255605.mbj@tail-f.com>
To: nite@hq.sk
Cc: lhotka@nic.cz, netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4611382f-be58-a20f-1712-e5fb3e4ef3ec@hq.sk>
References: <291106e34498ebd68f26bf9ff9b679dd5bd8f0cd.camel@nic.cz> <20190612092555.xotrr4moh36xv4kl@anna.jacobs.jacobs-university.de> <4611382f-be58-a20f-1712-e5fb3e4ef3ec@hq.sk>
X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/AcPHZSSHckhsCPRAxrMKAcHSYbQ>
Subject: Re: [netmod] regular expression flavours (again)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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, 13 Jun 2019 13:44:20 -0000

Robert Varga <nite@hq.sk> wrote:
> On 12/06/2019 11:25, Juergen Schoenwaelder wrote:
> > That said, they do seem to declare something like
> > oc-ext:regexp-posix; but it would have been much smarter to use for
> > example oc-posix:regex instead of changing the semantics of the
> > pattern statement.
> 
> Yes, this would be preferable, but it has a downside: now you need to
> carry the patterns twice and must make sure they are in sync.

In the OC models they would/could just use the oc-posix:regex statement, and
not even use the pattern statement.

The current solution doesn't really work, since it requires tools to
understand the "regexp-posix" extension.

And yes, I'm the first to admit that tailf:action had the same kind of
problem.


/martin