Re: [Jsonpath] I-D Action: draft-ietf-jsonpath-iregexp-03.txt

Carsten Bormann <cabo@tzi.org> Mon, 06 February 2023 20:36 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: jsonpath@ietfa.amsl.com
Delivered-To: jsonpath@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E968C152564 for <jsonpath@ietfa.amsl.com>; Mon, 6 Feb 2023 12:36:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K104Az9_8hQu for <jsonpath@ietfa.amsl.com>; Mon, 6 Feb 2023 12:36:07 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DFE32C1524BC for <jsonpath@ietf.org>; Mon, 6 Feb 2023 12:36:06 -0800 (PST)
Received: from [192.168.217.124] (p548dc9a4.dip0.t-ipconnect.de [84.141.201.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4P9dM76PlqzDCcJ; Mon, 6 Feb 2023 21:36:03 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <167571512347.35011.7788857965989007716@ietfa.amsl.com>
Date: Mon, 06 Feb 2023 21:36:03 +0100
X-Mao-Original-Outgoing-Id: 697408563.440557-69fbcf4ac888c4b555fd136c8d5fd356
Content-Transfer-Encoding: quoted-printable
Message-Id: <B26E79F0-D049-4C71-A1E7-80A7D148A15F@tzi.org>
References: <167571512347.35011.7788857965989007716@ietfa.amsl.com>
To: jsonpath@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/tCWtXwLKVzK5wqNjHybxSz7xjOg>
Subject: Re: [Jsonpath] I-D Action: draft-ietf-jsonpath-iregexp-03.txt
X-BeenThere: jsonpath@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: A summary description of the list to be included in the table on this page <jsonpath.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jsonpath/>
List-Post: <mailto:jsonpath@ietf.org>
List-Help: <mailto:jsonpath-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Feb 2023 20:36:11 -0000

This is the version with the clarifications that popped up during WGLC, which all were about details on the dialect mapping.
In particular, the previous text didn’t take into account that in many regexp dialects, anchors have a higher operator precedence than disjunction, which can create a need to envelop the iregexp with a grouping.  The ECMAScript case now also mentions the need for an “u” flag.

Let’s see whether we can ship this at the interim tomorrow.

Grüße, Carsten


> On 2023-02-06, at 21:25, internet-drafts@ietf.org wrote:
> 
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the JSON Path WG of the IETF.
> 
>        Title           : I-Regexp: An Interoperable Regexp Format
>        Authors         : Carsten Bormann
>                          Tim Bray
>  Filename        : draft-ietf-jsonpath-iregexp-03.txt
>  Pages           : 11
>  Date            : 2023-02-06
> 
> Abstract:
>   This document specifies I-Regexp, a flavor of regular expressions
>   that is limited in scope with the goal of interoperation across many
>   different regular-expression libraries.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-jsonpath-iregexp/
> 
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-jsonpath-iregexp-03.html
> 
> A diff from the previous version is available at:
> https://author-tools.ietf.org/iddiff?url2=draft-ietf-jsonpath-iregexp-03