Stop allocating hashmaps for each capture group when there aren't any named groups.