We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 622bff3 commit 6351efdCopy full SHA for 6351efd
lib/elixir/lib/regex.ex
@@ -457,7 +457,7 @@ defmodule Regex do
457
458
"""
459
@doc since: "1.19.0"
460
- @spec to_embed(t, [term]) :: String.t()
+ @spec to_embed(t, [strict: boolean()]) :: String.t()
461
def to_embed(%Regex{source: source, opts: regex_opts}, embed_opts \\ []) do
462
strict = Keyword.get(embed_opts, :strict, true)
463
0 commit comments