diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-05-10 11:30:42 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-10 10:43:23 +0200 |
commit | 22b244df4580ae9e8c35899a513dd0eb7bff5fd0 (patch) | |
tree | 3e4d67e335a6ee6337308c849d58dfe7b1cf691a /Base | |
parent | 0f03960c1b9ac3a682637ede3ca0f33960efba83 (diff) | |
download | serenity-22b244df4580ae9e8c35899a513dd0eb7bff5fd0.zip |
Shell: Add support for \uhhhhhhhh escapes in strings
This will be replaced with the unicode character whose codepoint is
given by the unsigned 32-bit number 'hhhhhhhh' (hex).
Diffstat (limited to 'Base')
-rw-r--r-- | Base/usr/share/man/man5/Shell.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Base/usr/share/man/man5/Shell.md b/Base/usr/share/man/man5/Shell.md index 5815a73321..bb3254d266 100644 --- a/Base/usr/share/man/man5/Shell.md +++ b/Base/usr/share/man/man5/Shell.md @@ -477,7 +477,8 @@ string :: '"' dquoted_string_inner '"' dquoted_string_inner :: '\' . dquoted_string_inner? {concat} | variable dquoted_string_inner? {compose} | . dquoted_string_inner? - | '\' 'x' digit digit dquoted_string_inner? + | '\' 'x' xdigit*2 dquoted_string_inner? + | '\' 'u' xdigit*8 dquoted_string_inner? | '\' [abefrn] dquoted_string_inner? variable :: variable_ref slice? |