Innerloops now retrieved from db using regex.