fixes hw0 2 regex