regex added for hex thanks, Sean :)