virtualx-engine/modules/gdscript/tests/scripts/parser/features/r_strings.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
470 B
GDScript3
Raw Normal View History

func test():
print(r"test ' \' \" \\ \n \t \u2023 test")
print(r"\n\\[\t ]*(\w+)")
print(r"")
print(r"\"")
print(r"\\\"")
print(r"\\")
print(r"\" \\\" \\\\\"")
print(r"\ \\ \\\ \\\\ \\\\\ \\")
print(r'"')
print(r'"(?:\\.|[^"])*"')
print(r"""""")
print(r"""test \t "test"="" " \" \\\" \ \\ \\\ test""")
print(r'''r"""test \t "test"="" " \" \\\" \ \\ \\\ test"""''')
print(r"\t
\t")
print(r"\t \
\t")
print(r"""\t
\t""")
print(r"""\t \
\t""")