Jump to content

XXXX redacted: Difference between revisions

m
(julia example)
Line 260:
=={{header|Julia}}==
The solution must kludge a check with the variable "multichar" to properly substitute "X" instead of "XXXX" with the last example.
Otherwise Julia (v 1.4) interprets one 128184-bit Unicode smileyextended emoji character as four 32-bitUnicode characters.
<lang julia>function doif_equals(word, pattern, insens=false)
regex = insens ? Regex("^$pattern\$", "i") : Regex("^$pattern\$")
Line 342:
[w|s|n] 🧑 👨 🧔 X
</pre>
 
 
=={{header|Phix}}==
4,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.