# libtmux::parse_lookup

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/legacy_lookup.hpp#L55
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-parse_lookup/

```
libtmux::parse_lookup(typename Entity, term: std::string_view, fields: std::span< const StringFieldHandle< Entity > >) -> typename Entity
```

Parse one `field[__lookup]=value` term against a caller-supplied field table.

The value is taken verbatim after the first `=`, so a value containing `=` or `__` survives unchanged; only the key is split.
