Unicode.Set.to_regex_string-exclamation-mark
You're seeing just the function
to_regex_string-exclamation-mark
, go back to Unicode.Set module for more information.
Specs
Transforms a Unicode Set into a regex
string that can be used as an argument
to Regex.compile/1
.
Arguments
unicode_set
is a string representation of a Unicode Set
Returns
regex_string
orraises an exception
Example
iex> Unicode.Set.to_regex_string "[[:Zs]-[ ]]"
{:ok, "[\x{3A}\x{5A}\x{73}]"}