Fix pagination.
Post about named capture groups in RegExp.