@worldware/msg-cli
    Preparing search index...

    Function selectMessageToPgsExport

    • If source is a classifiable .match message, returns PGS attributes and per-variant segments; otherwise null (caller falls back to plain XLIFF).

      Parameters

      • source: string

      Returns { segments: PgsSegmentExport[]; switchAttr: string } | null