Fix a regexp which prevented the page's id to be correctly parsed.

Fix #2626