add bs4 and change RE rules