Skip to content

Proposal: Use I-Regexp instead of ECMA-262 #1327

Closed
@gregsdennis

Description

@gregsdennis

The IETF JSON Path working group is putting together I-Regexp (authored by @cabo) intended as an interoperable subset of the various flavors of regular expressions. Think of it as a "capabilities intersection." The idea is that the spec defines only features which are known to be supported by the majority of existing regular expression libraries, which means that most libraries should be able to claim conformance without actually having to make any changes.

I would like to propose that we use that here instead of ECMA-262, which seems to have varying support across languages. It would likely reduce the set of guaranteed-supported expressions, but at least we would be able to legitimately claim some guaranteed support (which I don't think we can do right now).

This spec is still in draft phase and continues to evolve. I'm not too rushed on getting this in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions