Regex.match-question-mark

You're seeing just the function match-question-mark, go back to Regex module for more information.

Specs

match?(t(), String.t()) :: boolean()

Returns a boolean indicating whether there was a match or not.

Examples

iex> Regex.match?(~r/foo/, "foo")
true

iex> Regex.match?(~r/foo/, "bar")
false