Regex.opts

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

Specs

opts(t()) :: String.t()

Returns the regex options as a string.

Examples

iex> Regex.opts(~r(foo)m)
"m"