static String? extractOS(String s) { final m = _osExp.firstMatch(s); return m == null ? null : m.group(1); // e.g., "0" }