2018-12-19 14:09:39 +08:00

37 lines
613 B
Plaintext

[%
foo
foo.bar
foo.2
foo.1.bar.2.baz.3
foo.$index
foo
.
bar
world
hands
knots
%]
----------------------------------------------------
[
["tt2",
[
["delimiter", "[%"],
["variable", "foo"],
["variable", "foo.bar"],
["variable", "foo.2"],
["variable", "foo.1.bar.2.baz.3"],
["variable", "foo.$index"],
["variable", "foo\r\n\t\t.\r\n\t\t\tbar"],
["variable", "world"],
["variable", "hands"],
["variable", "knots"],
["delimiter", "%]"]
]
]
]
----------------------------------------------------
Checks for simple variables.