Verbose characters allow you to enter any character by using its Unicode name. Rant will convert all verbose literals to their corresponding characters when the pattern is compiled.
All Unicode 9.0 characters are supported.
A verbose character can be entered using the following structure:
The name is not case-sensitive, and spaces may be substituted for underscores or hyphens without consequence.
A common usage of these literals is to type accented characters. For example, the ä character can be entered using the following:
\@LATIN SMALL LETTER A WITH DIAERESIS@
It can also be used with emoji:
\@THUMBS UP SIGN@
\@FACE WITH TEARS OF JOY@
\@OK HAND SIGN@
To enter characters procedurally, use the
There are many online resources for looking up Unicode character names. Here are a few you can use: