Skip to content

Make the default regex mode use regress for JS-flavor regex format validation #302

Closed
@sirosen

Description

@sirosen

There's a python package for the regress crate (see: python-jsonschema/jsonschema#1142 (comment)).

It should be pretty easy to pull this in and use it to replace the default regex format check.
We can then expose many modes with something like --regex-format [default|regress|python|disabled] and drop the gated regex check that exists today. (Where default and regress are the same?)

There's other CLI option refactoring to do around the format controls, so this might dovetail with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    regular-expressionsRelated to the regex engines and modes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions