Fixes extracting os info from regex groups.

With the new regex, the info we want is in groups 1, 3, and 5.
Document what each group would contain.