Add support for string constants with escape sequences
This commit is contained in:
4
examples/string.rhai
Normal file
4
examples/string.rhai
Normal file
@@ -0,0 +1,4 @@
|
||||
print("hello");
|
||||
print("this\nis \\ nice");
|
||||
print("40 hex is \x40");
|
||||
print("fun with unicode: \u2764 and \U0001F603");
|
Reference in New Issue
Block a user