docs: def tokenize_query(query: str) -> Dict[str, Iterable]:
      """Tokenizes a standard search query in name: operations mapping.
  
      Example:
          moo:bla, foo:~<=1, foo:ll..ff
  
          {
            'moo': ['bla'],
            'foo': ['~<=1', 'll..ff']
          }
      """
      expressions = split_query(query)
      name_operation_tuples = [parse_expression(expression) for expression in expressions]
      operation_by_name = defaultdict(list)
      for name, operation in name_operation_tuples:
          operation_by_name[name].append(operation)
      return operation_by_name