From d4e020ddea0f8175ba4cca540fdf6499c53c6fcc Mon Sep 17 00:00:00 2001 From: menarulalam <35981995+menarulalam@users.noreply.github.com> Date: Wed, 15 Nov 2023 13:44:29 -0800 Subject: [PATCH] Include justification for alias name case insensitivity --- docs/require-by-string-aliases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/require-by-string-aliases.md b/docs/require-by-string-aliases.md index a58f046..56a698b 100644 --- a/docs/require-by-string-aliases.md +++ b/docs/require-by-string-aliases.md @@ -34,7 +34,7 @@ Or even a sub-module: local createElement = require("@Roact/createElement") ``` -Aliases are overrides. Whenever the first component of a path exactly matches a pre-defined alias, it will be replaced before the path is resolved to a file. Alias names are also restricted to the charset `[A-Za-z0-9.\-_]`. +Aliases are overrides. Whenever the first component of a path exactly matches a pre-defined alias, it will be replaced before the path is resolved to a file. Alias names are also restricted to the charset `[A-Za-z0-9.\-_]`. We restrict the charset and make them case insensitive because we envision alias names to be primarily used as package names, which tend to be case insensitive and alphanumeric. ### Package management