Regex.source

You're seeing just the function source, go back to Regex module for more information.

Specs

source(t()) :: String.t()

Returns the regex source as a binary.

Examples

iex> Regex.source(~r(foo))
"foo"