[Jsonpath] Regular expressions in filters

Carsten Bormann <cabo@tzi.org> Wed, 12 May 2021 13:03 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 2EECD3A0FD7 for <jsonpath@ietfa.amsl.com>; Wed, 12 May 2021 06:03:47 -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 t3ED5hdJCKvQ for <jsonpath@ietfa.amsl.com>; Wed, 12 May 2021 06:03:42 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 367543A0FD0 for <jsonpath@ietf.org>; Wed, 12 May 2021 06:03:42 -0700 (PDT)
Received: from [192.168.217.118] (p548dcb12.dip0.t-ipconnect.de [84.141.203.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4FgFNC2bTgz315n; Wed, 12 May 2021 15:03:39 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAHBU6isFeWwv8wvdJhSbsDPA9gP0mmfzPRi3p-9iuAwyGMRvvQ@mail.gmail.com>
Date: Wed, 12 May 2021 15:03:31 +0200
Cc: jsonpath@ietf.org
X-Mao-Original-Outgoing-Id: 642517411.772431-e8ec01ca5a5ef1b85f6731a150d9e764
Content-Transfer-Encoding: quoted-printable
Message-Id: <48922359-ABF5-4894-952B-F0085A1BF257@tzi.org>
References: <CAHBU6isFeWwv8wvdJhSbsDPA9gP0mmfzPRi3p-9iuAwyGMRvvQ@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.3608.120.23.2.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/lu6LpqyujUCjIRQN-WBLYYY6Irs>
Subject: [Jsonpath] Regular expressions in filters
X-BeenThere: jsonpath@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 12 May 2021 13:03:47 -0000

On 2021-05-09, at 20:28, Tim Bray <tbray@textuality.com> wrote:
> 
> Regular expressions in filters?
> Issue #70: https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base/issues/70

We had a good discussion about issue #70 yesterday in the interim.
I promised to supply a PR.

It turned out that the work that is needed is to a large part reusable in other contexts.

So instead of writing the PR, I submitted a separate Internet-draft first.
This should supply the answer to the question what flavor of regexps we want to use:

https://www.ietf.org/archive/id/draft-bormann-jsonpath-iregexp-00.html

If we like this approach (which certainly needs a bit more work, as we want to make sure we hit the right level of complexity), I can supply the PR that anchors this specification in the jsonpath specification.

Grüße, Carsten