diff --git a/README.md b/README.md index dbad2e7..91d1685 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ iex> list = String.split("abc1def2ghi3jkl", pattern) The parser generator [nimble_parsec](https://hex.pm/packages/nimble_parsec) allows a list of codepoint ranges as parameters to several combinators. Unicode Set can generate such ranges: ``` -iex> Unicode.Set.utf8_char("[[^abcd][mnb]]") +iex> Unicode.Set.to_utf8_char("[[^abcd][mnb]]") [{:not, 97}, {:not, 98}, {:not, 99}, {:not, 100}, 98, 109, 110] ``` This can be used as shown in the following example: