why are regex groups 1 indexed