247 248 249 250
# File 'lib/siren/json_query_nodes.rb', line 247 def value(expr1, expr2) return expr1 == expr2 unless expr2.respond_to?(:gsub) expr1 =~ %r{^#{Match.convert(expr2)}$} end