Skip to content

Commit b8760a1

Browse files
authored
Add some signposting to the String docs for pattern matching (#13514)
1 parent 813c5aa commit b8760a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/elixir/lib/string.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ defmodule String do
201201
iex> eacute
202202
233
203203
204+
See the [*Patterns and Guards* guide](patterns-and-guards.md) and the documentation for
205+
[`<<>>`](`<<>>/1`) for more information on binary pattern matching.
206+
204207
You can also fully convert a string into a list of integer code points,
205208
known as "charlists" in Elixir, by calling `String.to_charlist/1`:
206209

0 commit comments

Comments
 (0)