bin/betterlog in betterlog-0.15.0 vs bin/betterlog in betterlog-0.15.1

- old
+ new

@@ -94,13 +94,13 @@ def search_matched?(event) return true unless @opts[?s] @opts[?s].all? do |param| case param - when /:\?\z/ - event[$`].present? - when /:([^:]+)\z/ - event[$`].full?(:include?, $1) + when /\A([^:]+):([^=]+)=(.+)\z/ + event[$1]&.[]($2.to_sym)&.include?($3) + when /\A([^=]+)=(.+)\z/ + event[$1]&.include?($2) when String event.to_json.include?(@opts[?s]) else return true end