Using a more generic XML recognition regex