Skip to content

Commit 5979c42

Browse files
committed
Fix rendering of regex docs
1 parent 5949bad commit 5979c42

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/elixir/lib/regex.ex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,15 @@ defmodule Regex do
7878
7979
* `:caseless` (i) - adds case insensitivity
8080
81-
* `:dotall` (s) - causes dot to match newlines and also sets newline to
82-
`(*ANYCRLF)`.\
81+
* `:dotall` (s) - causes dot to match newlines and also sets newline to `(*ANYCRLF)`.
8382
The new line setting, as described in the [`:re` documentation](`:re`),
8483
can be overridden by starting the regular expression pattern with:
8584
* `(*CR)` - carriage return
8685
* `(*LF)` - line feed
8786
* `(*CRLF)` - carriage return, followed by line feed
8887
* `(*ANYCRLF)` - any of the three above
8988
* `(*ANY)` - all Unicode newline sequences
90-
* _Starting from Erlang/OTP 28, `(*NUL)` - the NUL character (binary zero)_
89+
* `(*NUL)` - the NUL character (binary zero) (from Erlang/OTP 28)
9190
9291
* `:multiline` (m) - causes `^` and `$` to mark the beginning and end of
9392
each line; use `\A` and `\z` to match the end or beginning of the string

0 commit comments

Comments
 (0)