Added feature, same tag pair multiple times possible

Parser now matches all tag pairs and not just the first one. fixes #2237