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
196
196
end
197
197
198
198
@ 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
200
200
matches of the regular expression. A list of lists is returned,
201
201
where each entry in the primary list represents a match and each
202
202
entry in the secondary list represents the captured contents.
203
203
204
- The captured contents defaults to :all, which includes the whole
204
+ The captured contents defaults to ` :all` , which includes the whole
205
205
regex match and each capture.
206
206
207
207
When the option `:capture` is set to `:groups`, it will capture all
@@ -269,7 +269,7 @@ defmodule Regex do
269
269
270
270
Inside the replacement, you can either give `&` to access the
271
271
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`
273
273
if you want to replace just the first occurrence.
274
274
275
275
## Examples
You can’t perform that action at this time.
0 commit comments