The required regex works. The main drawback is that I don't like
the groups I don't need.