regex match fix