diff options
| author | Lennard Hofmann <lennard.hofmann@web.de> | 2020-02-03 18:59:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-03 18:59:46 +0000 |
| commit | 75bb796b2bc774992c48660ed7e5c8b28aef6d86 (patch) | |
| tree | 56b1235b75f1a9b230841422c827426cab0d94ed /src/shared_string.cc | |
| parent | c6eb9bd8f0fd2f5f428fc66791f77546e49ae006 (diff) | |
[sh] Allow more characters in aliases and function names
Which characters are allowed?
- Aliases: https://www.gnu.org/software/bash/manual/html_node/Aliases.html
- Functions: https://unix.stackexchange.com/questions/245331/shell-valid-function-name-characters
For aliases I chose [\w-.] instead of blacklisting many forbidden characters. For functions I chose \S.
Diffstat (limited to 'src/shared_string.cc')
0 files changed, 0 insertions, 0 deletions
