handle case where level 4 weight isn't there
compile regex