XXXX redacted: Difference between revisions
Content added Content deleted
(julia example) |
|||
Line 260: | Line 260: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
The solution must kludge a check with the variable "multichar" to properly substitute "X" instead of "XXXX" with the last example. |
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 |
Otherwise Julia (v 1.4) interprets one 184-bit Unicode extended emoji character as four Unicode characters. |
||
<lang julia>function doif_equals(word, pattern, insens=false) |
<lang julia>function doif_equals(word, pattern, insens=false) |
||
regex = insens ? Regex("^$pattern\$", "i") : Regex("^$pattern\$") |
regex = insens ? Regex("^$pattern\$", "i") : Regex("^$pattern\$") |
||
Line 342: | Line 342: | ||
[w|s|n] 🧑 👨 🧔 X |
[w|s|n] 🧑 👨 🧔 X |
||
</pre> |
</pre> |
||
=={{header|Phix}}== |
=={{header|Phix}}== |