diff --git a/lib/elixir/lib/string.ex b/lib/elixir/lib/string.ex index 0b5a2d947ff..41f13b93677 100644 --- a/lib/elixir/lib/string.ex +++ b/lib/elixir/lib/string.ex @@ -62,6 +62,7 @@ defmodule String do * `\\` - Single backslash * `\xNN` - A byte represented by the hexadecimal `NN` * `\uNNNN` - A Unicode code point represented by `NNNN` + * `\u{NNNNNN}` - A Unicode code point represented by `NNNNNN` Note it is generally not advised to use `\xNN` in Elixir strings, as introducing an invalid byte sequence would