Skip to content

Commit 91dc65b

Browse files
author
José Valim
committed
Merge pull request #1935 from jwarwick/regex_typo
Added links to Regex docs
2 parents b1d2456 + 2ec9c24 commit 91dc65b

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)