Ensure complete multipage lists

Fix a problem with regular expressions that could
prevent the retrieval of all pages.