parameters: (item_value, where_value)
docstring: Perform any odd logic on item matching.
docstring_summary: Perform any odd logic on item matching.
docstring_tokens: Perform any odd logic on item matching .
function: def match_primitive_values(item_value, where_value):
      """Perform any odd logic on item matching.
      """
      # Matching interpolation for keyboard constrained input.
      if type(item_value) == str:
          # Direct match
          return bool(re.match(where_value, item_value))
      elif type(item_value) == int or type(item_value) == float:
          # match after string conversion
          return bool(re.match(where_value, str(item_value)))
      elif type(item_value) == bool:
          # help conversion to JSON booleans from the commandline
          return bool(re.match(where_value, str(item_value).lower()))
      else:
          return False
function_tokens: def match_primitive_values ( item_value , where_value ) : # Matching interpolation for keyboard constrained input. if type ( item_value ) == str : # Direct match return bool ( re . match ( where_value , item_value ) ) elif type ( item_value ) == int or type ( item_value ) == float : # match after string conversion return bool ( re . match ( where_value , str ( item_value ) ) ) elif type ( item_value ) == bool : # help conversion to JSON booleans from the commandline return bool ( re . match ( where_value , str ( item_value ) . lower ( ) ) ) else : return False