Regex.regex-question-mark

You're seeing just the function regex-question-mark, go back to Regex module for more information.
This function is deprecated. Use Kernel.is_struct/2 or pattern match on %Regex{} instead.

Returns true if the given term is a regex. Otherwise returns false.