Unicode.Regex.compile-exclamation-mark
You're seeing just the function
compile-exclamation-mark
, go back to Unicode.Regex module for more information.
Compiles a binary regular expression after interpolating any Unicode Sets.
Arguments
string
is a regular expression in string form.options
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
regex
orraises an exception
Example
iex> Unicode.Regex.compile!("[:Zs:]")
~r/[\x{20}\x{A0}\x{1680}\x{2000}-\x{200A}\x{202F}\x{205F}\x{3000}]/u