Skip to content

Are regular expressions allowed in the filter scripts? #2

@rcgardne

Description

@rcgardne

I see nothing in dchester's implementation that allows regex, but I want to check for sure. For querying an automobile make/model structure...

this works:
$[0].models[?(@.name == "Bronco")]

but this does not:
$[0].models[?(@.name =~ /.*/)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions