fixing hbof regex