Added regexp matching for prev / next links