fix regex matching conversion value