disable eregex by default and added toggle