modified the regex for the boc