//! Pure helpers: connect strings.
/// `"<prefix> <lobby>"` - the connect string used for rich presence and invites.
/// Find `<prefix> <lobby>` (whitespace separated) anywhere in `text` - a rich-presence connect
/// string, a full command line, or process arguments joined with spaces - and return the lobby
/// id. `<prefix>=<lobby>` is accepted too. `None` when missing, malformed, or `0`.
///
/// Only the FIRST `<prefix>` token counts: when its value is malformed the result is `None`, even
/// if a valid `<prefix> <lobby>` follows it in `text`.