Make regex not be greedy

This fixes when the page has multiple pagers.