Find a group by what it is, rather than by what it is called.
A presentation names one group, so this goes straight to it.
Either presentation a group's page shows:
2,3|b^a=b^2 is S3;; — (1,2,3);(1,2) is the same group.Whitespace and the group's own labeling are irrelevant: any presentation of a catalogued group finds it, however it was written.