Update docs/require-by-string-aliases.md

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This commit is contained in:
menarulalam 2023-11-14 13:03:39 -08:00 committed by GitHub
parent e83a57bab8
commit af1ce25331
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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