wrestle the regext to fix add_page, finish ch 7