Unicode.Regex.match-question-mark
You're seeing just the function
match-question-mark
, go back to Unicode.Regex module for more information.
Returns a boolean indicating whether there was a match or not with a Unicode Set.
Arguments
regex_string
is a regular expression in string form.string
is any string against which the regex match is executedoptions
is a string or a list which is passed unchanged toRegex.compile/2
. The default is "u" meaning the regular expression will operate in Unicode mode
Returns
a boolean indicating if there was a match or
raises an exception if
regex
is not a valid regular expression.
Example
iex> Unicode.Regex.match?("[:Sc:]", "$")
true