Updated regex to search for markdown files for the pages array