Skip to content

Commit 2ec9c24

Browse files
committed
Added links to Regex docs
1 parent b1d2456 commit 2ec9c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/regex.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ defmodule Regex do
44
in the Erlang Standard Library. More information can be found
55
in the [`re` documentation](http://www.erlang.org/doc/man/re.html).
66
7-
Regular expressions in Elixir can be created using `Regex.compile!`
8-
or using the special form with `%r`:
7+
Regular expressions in Elixir can be created using `Regex.compile!/2`
8+
or using the special form with [`%r`](Kernel.html#sigil_r/2):
99
1010
# A simple regular expressions that matches foo anywhere in the string
1111
%r/foo/

0 commit comments

Comments
 (0)