Unicode strings: Difference between revisions
→{{header|langur}}
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
Langurmonkey (talk | contribs) |
||
Line 793:
=={{header|langur}}==
Source code in langur is UTF-8. For clarity, identifiers are ASCII only.
Comments and string literals may use Unicode.
A string or regex literal using an "any" modifier may include any code point (without using an escape sequence). Otherwise, they are restricted to Graphic, Space, and
The following is an example of using the "any" modifier on a string literal.
<lang langur>q:any"any code points here"</lang>
Indexing on a string indexes by code point. The index may be a single number, a range, or an array of such things.
|