Skip to content

Commit

Permalink
Sync default value for Regex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 10, 2024
1 parent 1a94623 commit 4226a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/lib/regex.ex
Expand Up @@ -184,7 +184,7 @@ defmodule Regex do
check and recompile the regex if necessary.
"""

defstruct re_pattern: nil, source: "", opts: "", re_version: ""
defstruct re_pattern: nil, source: "", opts: [], re_version: ""

@type t :: %__MODULE__{re_pattern: term, source: binary, opts: binary | [term]}

Expand Down

0 comments on commit 4226a8a

Please sign in to comment.