private fun unescapePathComponent(name: String): String? { return name.replace("\\\\(.)".toRegex(), "$1") }
Convert a path component that contains backslash escape sequences to a literal string . This is necessary when you want to explicitly refer to a path that contains globber metacharacters .