function normalizeToPosix(pattern) {
	return pattern.replace(/\\/gu, "/");
}
Normalizes slashes in a file pattern to posix-style.
@param {string} pattern The pattern to replace slashes in.
@returns {string} The pattern with slashes normalized.