File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -196,12 +196,12 @@ defmodule Regex do
196196 end
197197
198198 @ doc """
199- Same as run, but scans the target several times collecting all
199+ Same as ` run/3` , but scans the target several times collecting all
200200 matches of the regular expression. A list of lists is returned,
201201 where each entry in the primary list represents a match and each
202202 entry in the secondary list represents the captured contents.
203203
204- The captured contents defaults to :all, which includes the whole
204+ The captured contents defaults to ` :all` , which includes the whole
205205 regex match and each capture.
206206
207207 When the option `:capture` is set to `:groups`, it will capture all
@@ -269,7 +269,7 @@ defmodule Regex do
269269
270270 Inside the replacement, you can either give `&` to access the
271271 whole regular expression or `\N `, where `N` is in integer to access
272- a specific matching parens. You can also set global to false
272+ a specific matching parens. You can also set `: global` to ` false`
273273 if you want to replace just the first occurrence.
274274
275275 ## Examples
You can’t perform that action at this time.
0 commit comments