LRDCOM-6606 Regex replace backslashes in basedir too