Skip to content

arithmetic operator does not support minus(-) #23

@truebit

Description

@truebit
>>> jp.match1('$.cow-1', {'cow': 2, 'fish': 'foobar'})
>>> jp.match1('$.cow+-1', {'cow': 2, 'fish': 'foobar'})
1

first one returned None, second one could return correct result 1

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