Hi Jose,

Sorry for the late reply on this! I finally cracked open the Elixir source 
code today and took a look at the String.replace/3 implementation. It looks 
like this may have already been taken care of.

@spec replace(t, pattern | Regex.t(), t | (t -> t | iodata), keyword) :: t
def replace(subject, pattern, replacement, options \\ [])
    when is_binary(subject) and
           (is_binary(replacement) or is_function(replacement, 1)) and
           is_list(options) do
  replace_guarded(subject, pattern, replacement, options)
end

If so, thank you very much! If not, I'm happy to tackle it. Am I missing 
something here?

Thanks again!

Landon

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/ed6d1d78-c04b-46d6-9e8f-517074c571f6%40googlegroups.com.

Reply via email to