fixed flag detection regex for new store pages