From e83a57bab807890c9ba8bab2f0352982d63ed42b Mon Sep 17 00:00:00 2001 From: menarulalam <35981995+menarulalam@users.noreply.github.com> Date: Tue, 14 Nov 2023 11:45:54 -0800 Subject: [PATCH] Changed aliases to be case-insensitive + restricted the charset --- 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 a0d04b6..4d53cc3 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.-_]`. ### Package management