1 2 3 4 5 6 7 8
system "rev:capture" { stage main { sub { from "a" + capture("b" + maybe("c")) + "d" to "X" + ref(1) } } }