Match input with node.
Matched slice or [] if not match.
ditto
/+const+/ Data x = [1,2]; assert(x.matchFirst(lit(x[0 .. 1])) is x[0 .. $]); assert(x.matchFirst(lit(x[1 .. 2])) is x[1 .. 2]);
See Implementation
Match input with node.