Literals/String: Difference between revisions

Line 407:
? if (" >abc, def< " =~ rx`\W*(@a\w+)\W+(@b\w+)\W*`) { [a, b] } else { null }
# value: ["abc", "def"]</lang>
 
=={{header|Elena}}==
<lang elena>
#var c := #65. // character
#var s := "some text". // UTF-8 literal
#var w := "some wide text". // UTF-16 literal
#var s2 := "text with ""quotes"" and "#13#10"two lines".
</lang>
 
=={{header|Elixir}}==
Anonymous user