The regex I meant to write above is (a*)* but the pair of *s got swallowed into HN formatting.