From 44a1c13f6c7e3da3686ddd165e33663c06c21155 Mon Sep 17 00:00:00 2001 From: kallestenflo Date: Thu, 19 Mar 2015 21:29:23 +0100 Subject: [PATCH] Added regex example. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 12268693..7a8009c9 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ Given the json | $..book[?(@.isbn)] | All books with an ISBN number | | $.store.book[?(@.price < 10)] | All books in store cheaper than 10 | | $..book[?(@.price <= $['expensive'])] | All books in store that are not "expensive" | +| $.store.book[?(@.author =~ /.*REES/i)] | All books matching regex (ignore case) | | $..* | Give me every thing |