Use re named groups to match values and metadata keys.