-
Notifications
You must be signed in to change notification settings - Fork 43
Proposal: New Reqex Expression #10
Comments
Hi Sven, I could see that being useful :) I've been looking around at comparable syntaxes in different languages and I see that yours is following after Ruby's ie. CSS has attribute selectors but the 'modifier/wildcard' symbol is always behind the equals sign ie. I also wonder if tilde |
Hi stephen, |
If this feature is wanted (is it?) I could provide a pr too if I have a spare day. We should just communicate, so we don't start both ;) |
Hi Sven, I've been really distracted by work! I think the Java implementation looks sensible so following them should work for everyone :) If you send a PR with one or two tests added then I'll try to merge it as soon as I can. Thanks! |
Has this ever been tackled? Looks not, which is kinda sad since most other JSONPath implementations allow this feature in one way or another. |
This project is now marked as abandoned and suggests using |
The addition of an regex matching expression would be great. If I see it correct you can now only match literal strings with:
[?(@.title
== "A string")]I thought of something like:
[?(@.release
=~ "/\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}/"]The text was updated successfully, but these errors were encountered: