1 2 3 4 5 6 7 8 9 10 11 12 13
# capture(...) groups and ref(N) backreferences. system "T:rs-capture:1" { stage main { sequence { sub { from capture("c") + "k" to ref(1) + "q" } sub { from "z" to "s" } } } tests { "ckzk" -> "cqsk" } }